/v1/oauth/revokeRevoke a token (RFC 7009)
Revoking a refresh token takes the whole grant family with it. Always answers 200, including for an unknown token — otherwise the endpoint would be a token-validity oracle.
Request body
token*stringThe access or refresh token to revoke.
token_type_hintstring`access_token` or `refresh_token`. Advisory only.
client_idstringclient_secretstringResponse · 200
Revoked, or the token was already unknown.
Example
Request
POST https://api.platform-auth.productcraft.co/v1/oauth/revoke
Content-Type: application/json
{
"token": "string",
"token_type_hint": "string",
"client_id": "string",
"client_secret": "string"
}