Skip to main content

Revoke service account secret

POST 

/orgs/:orgId/service-accounts/:saId/secrets/:secretId/revoke

Revokes the client secret identified by the given secretId so it can no longer be exchanged for an access token. Access tokens already issued with the secret stay valid until they expire. Revoking a secret that is already revoked returns it unchanged. Returns 409 if the secret has already expired. This action cannot be undone. Available only when service account credentials are enabled for the organization; otherwise returns 404. Requires the organization:write permission.

Request​

Responses​

OK