Okta Admin Management API
/Applications
/- Deactivate 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
Activate an OAuth 2.0 client secret
Deactivate an OAuth 2.0 c...
OAuth 2.0 scope:
- okta.apps.manage
Deactivates an OAuth 2.0 client secret by secretId. You can't deactivate a secret if it's the only secret of the client.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate
curl -i -X POST \
https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets/ocs2f4zrZbs8nUa7p0g4/lifecycle/deactivateOK
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": "ocs2f4zrZbs8nUa7p0g4", "status": "INACTIVE", "client_secret": "DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B", "secret_hash": "yk4SVx4sUWVJVbHt6M-UPA", "created": "2023-02-21T20:08:24.000Z", "lastUpdated": "2023-02-21T20:08:24.000Z", "_links": { "activate": { … }, "delete": { … } } }