Endpoint
Authentication
None beyond the token itself - possession of the token is what authorizes revoking it.Request Body
Content type:application/x-www-form-urlencoded
There is no
token_type_hint parameter. Chamelio looks the value up as an access token first, then
as a refresh token.Request Example
Response
Success Response
Status Code:200 OK
Revocation always returns
200 with an empty object, whether the token existed, was already
revoked, or never existed at all. This follows RFC 7009 and prevents the endpoint from being used to
test whether a token value is valid. The call is safe to retry.Error Responses
422 Unprocessable Entity
Returned when thetoken form field is missing from the request body.
Notes
Refreshing a token revokes the previous access and refresh token pair automatically, so you do not
need to revoke them yourself after a rotation.
Use Cases
- User disconnects your integration - Drop the token you hold for them
- Credential exposure - Invalidate a token that may have leaked
- Sign-out - End an authorized session rather than waiting for expiry