Deactivate Organization Refresh Tokens With Api Token Path Using POST
Deactivates the tokens provided. Max 15 tokens can be deactivated in a request. Note: Partial success, please read response which tokenIds could not be deactivated
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ❌ |
Unique identifier (GUID) of the organization.
Show optional properties
{
"ids": [
{}
]
}
{
"ids": [
"string"
]
}
Token Ids
Partial Success, please read response which tokenIds could not be deactivated
"ChangeApiTokensStatusResponse Object"
Token Ids failed to update
List of successfully updated token Ids
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Organization with this identifier is not found.
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The request could not be processed due to a conflict
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
An unexpected error has occurred while processing the request
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"ids":["string"]}' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/api-tokens/deactivate