Revoke OAuth token
POST/oauthtokens/:tokenType/delete
Revoke OAuth token by token ID. Both refresh_tokens and access_tokens are supported as {tokenType}. When revoking an access token, the corresponding refresh token will also be deleted, if it exists. A token can be revoked under one of the following conditions:
- If the user making the request is the subject of the token.
- If the token belongs to a client owned by the user making the request.
- If the user is a Brand Admin and token belongs to a client which originates from the same brand as the user.
Private Preview Functionality
This API is not yet generally available. It is available as part of Early Access to receive feedback. Be aware that there may be significant changes to this API with short notice until the time that the API is made Generally Available.
Contact your account representative to request access.
Request
Responses
- 200
- 400
- 401
- 404
- 500
- default
Revoke Token Request Successful
Bad Revoke Token Request
Unauthorized Revoke Token Request
Token Not Found
Internal Error
A default error response