跳转到主要内容
POST
POST /v1/oauth/revoke

请求体

RFC 7009 §2.1.

client_id
string | null

When present, the token must belong to this client. A public client has no secret to prove with, so this cannot authorize a revocation — it can only refuse one, which is the direction that matters.

token
string
默认值:""
token_type_hint
string | null

access_token or refresh_token. A hint only: RFC 7009 §2.1 requires the server to search the other kind anyway, so this is not used to narrow anything.

响应

Success

revoked
boolean
必填