- Deactivate an API service integration instance secret
- okta.oauthIntegrations.manage
Deactivates an API Service Integration instance Secret by secretId
- https://subdomain.okta.comhttps://subdomain.okta.com/integrations/api/v1/api-services/{apiServiceId}/credentials/secrets/{secretId}/lifecycle/deactivate
curl -i -X POST \
https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3/credentials/secrets/ocs2f4zrZbs8nUa7p0g4/lifecycle/deactivateOK
The OAuth 2.0 client secret string. The client secret string is returned in the response of a Secret creation request. In other responses (such as list, activate, or deactivate requests), the client secret is returned as an undisclosed hashed value.
Timestamp when the API Service Integration instance Secret was created
The ID of the API Service Integration instance Secret
Timestamp when the API Service Integration instance Secret was updated
OAuth 2.0 client secret string hash
Status of the API Service Integration instance Secret
Specifies link relations (see Web Linking) available for the current status of an application using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
{ "id": "ocs2f4zrZbs8nUa7p0g4", "status": "INACTIVE", "client_secret": "***DhOW", "secret_hash": "yk4SVx4sUWVJVbHt6M-UPA", "created": "2023-02-21T20:08:24.000Z", "lastUpdated": "2023-02-21T20:08:24.000Z", "_links": { "activate": { … }, "delete": { … } } }