Okta Admin Management API
/Applications
/- Activate an OAuth 2.0 client secret
Application Public Keys
List all the OAuth 2.0 client JSON Web Keys
Add a JSON Web Key
Retrieve an OAuth 2.0 client JSON Web Key
Delete an OAuth 2.0 client JSON Web Key
Activate an OAuth 2.0 client JSON Web Key
Deactivate an OAuth 2.0 client JSON Web Key
List all OAuth 2.0 client secrets
Create an OAuth 2.0 client secret
Retrieve an OAuth 2.0 client secret
Delete an OAuth 2.0 client secret
Deactivate an OAuth 2.0 client secret
Activate an OAuth 2.0 cli...
OAuth 2.0 scope:
- okta.apps.manage
Activates an OAuth 2.0 client secret by secretId
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate
curl -i -X POST \
https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets/ocs2f4zrZbs8nUa7p0g4/lifecycle/activateOK
The OAuth 2.0 client secret string
Example:"DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B"
Timestamp when the OAuth 2.0 client secret was created
Example:"2023-02-21T20:08:24.000Z"
Timestamp when the OAuth 2.0 client secret was updated
Example:"2023-02-21T20:08:24.000Z"
Status of the OAuth 2.0 client secret
Default:"ACTIVE"
Enum:"ACTIVE""INACTIVE"
Example:"ACTIVE"
Specifies link relations (see Web Linking) available for the current status of an app using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "id": "ocs2f50kZB0cITmYU0g4", "status": "ACTIVE", "client_secret": "DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B", "secret_hash": "0WOOvBSzV9clc4Nr7Rbaug", "created": "2023-04-06T21:32:33.000Z", "lastUpdated": "2023-04-06T21:32:33.000Z", "_links": { "deactivate": { … } } }