开放平台

撤销访问或刷新令牌

POST /v1/oauth2/revoke
POST/v1/oauth2/revoke
下载规范

Confidential 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 凭据;未知令牌也返回空对象。

参数:

  • body client_id
  • body client_secret
  • body token
  • body token_type_hint