Xsolla-logo

Revocar tokenClient-side

post/oauth2/token/revoke

Revoca un token de acceso obtenido

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

ACEPTAR

400

Bad Request (Solicitud errónea)

404

Not Found (No encontrado)

418

"I’m a teapot" (Soy una tetera)

422

Unprocessable Entity (Entidad no procesable)

429

Too Many Requests (Demasiadas solicitudes)

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