开放平台
撤销访问或刷新令牌
POST /v1/oauth2/revoke
POST
/v1/oauth2/revokeConfidential client 使用 Basic 或 body 凭据;未知令牌也返回空对象。
客户端凭据(HTTP Basic 或请求体)
请求体 必填
client_idstring可选client_secretstring可选tokenstring必填token_type_hintstring可选可选值
"access_token""refresh_token"返回值
成功
接口信息
接口: POST /v1/oauth2/revoke
operationId: revokeOAuthToken
Confidential client 使用 Basic 或 body 凭据;未知令牌也返回空对象。
参数:
bodyclient_idbodyclient_secretbodytokenbodytoken_type_hint