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

OK

400

Bad Request

404

Not Found

418

I’m a teapot

422

Unprocessable Entity

429

Too Many Requests

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