POST /v1/oauth/revoke
Scope
No auth (client authentication)
Request parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
token | body | string | required | The refresh token to revoke. |
token_type_hint | body | enum(refresh_token | access_token) | optional |
client_id | body | string | required | The client ID you were issued. |
client_secret | body | string | optional | Client secret (required for confidential clients). |
Response example
{}
Description
Revoke a refresh token (RFC 7009)
Error response example
{
"error": {
"code": "invalid_request",
"message": "malformed request",
"request_id": "req_01H..."
}
}
Possible errors: 401