Revoke an access token
The token stops working at once (it can be the token making the call).
Related: List access tokens and Create an access token in Access tokens.
Request
Path parameters
tokenIdstringrequiredPattern: ^[a-f0-9]{24}$
Headers
AuthorizationstringrequiredBearer followed by an account token or an OAuth access token with the tokens:write scope.
Response
Revoked.
{
"status": "string",
"data": {
"revoked": "string"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.revoked | true |