Revoke a Service Account Token

This endpoint revokes an existing access or refresh token, rendering it unusable for future API requests.
It is important to revoke tokens when they are no longer needed or if a security breach is suspected.
Ensure that the correct refresh_token is provided in the request body.

Body Params
string
required
Headers
string
required

Bearer token for authenticating the request. Example: Authorization: Bearer 123.

Responses

{}

{
  "error": "ERROR_REFRESH_TOKEN_INVALID",
  "message": "Refresh token is invalid. Use a valid refresh token.",
  "statusCode": 400
}

{
  "error": "ERROR_REFRESH_TOKEN_EXPIRED",
  "message": "Refresh token has expired.",
  "statusCode": 401
}
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json