Authentication

Revoke OAuth token

Revoke an OAuth access token to immediately invalidate it. This is useful when a token is compromised or no longer needed.

post/api/v1/external/auth/revoke

Request

Request body

tokenstring

The token to revoke (optional, defaults to current token)

token_type_hint'access_token' | 'refresh_token'

Hint about the token type

Response

Token revoked successfully

successboolean required
dataobject required

Response data (varies by endpoint)

messagestring

Optional success message

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.