200
Successful operation.
application/json
{
"type": "object",
"properties": {}
}Revoke a token and its grant
/api/oauth/revokerevokeAccountOAuthTokenNo bearer credential is required.
This operation has no path, query, or header parameters.
Required request body.
application/x-www-form-urlencoded
{
"type": "object",
"properties": {
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string",
"writeOnly": true
},
"token": {
"type": "string"
},
"resource": {
"type": "string"
}
},
"required": [
"token"
],
"example": {
"client_id": "COPY_REGISTERED_CLIENT_ID",
"token": "COPY_TOKEN_TO_REVOKE"
}
}Successful operation.
application/json
{
"type": "object",
"properties": {}
}Authorization failure; consent_required requires explicit reacceptance.
application/json
{
"$ref": "#/components/schemas/AccountOAuthError",
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}{}Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.
Retry-After when present. Back off on retryable server failures.