Credentials
Revoke a secret
Stops the secret authenticating. A client secret stops minting account tokens immediately; an app secret stops registering profiles within five minutes. Tokens already issued are unaffected. The reason is required and recorded. Any member of the account can restore the secret within 24 hours.
post/api/v1/account/credentials/secrets/{secretId}/revoke
Request
- Base URLhttps://api.sahha.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
Path parameters
secretIdstring uuid required
Query parameters
environmentstring
Request body
Example request
{
"environment": "sandbox",
"credentialType": "client",
"reason": "Leaked in a CI log."
}Response
Every secret of the credential after the revoke.
Changes
No recorded changes to this operation across all 1 revision of this API.