Xsolla-logo
  • 文档
  • 创建帐户

Revoke TokenClient-side

post/oauth2/token/revoke

Revokes an obtained access token

Request
query Parameters
revoke_all
boolean
Request Body schema: application/x-www-form-urlencoded
token
required
string
token_type_hint
required
string
Enum: "access_token" "refresh_token"
Responses
200

确定

400

错误的请求

404

未找到

418

我是茶壶

422

无法处理的实体

429

请求过多

Request samples
application/x-www-form-urlencoded
token=string&token_type_hint=access_token
Response samples
{
  • "error": {
    }
}