OAuth

Revocar un token

   POST /api/v1/oauth/revoke

El endpoint de revocación permite a los clientes notificar al servidor de autorización que un token de actualización o acceso previamente obtenido ya no es necesario.

Parámetros de la solicitud:

  • client_id: El identificador del cliente.
  • client_secret: La clave secreta del cliente.
  • token: El token que el cliente desea revocar.
  • token_type_hint: Una pista sobre el tipo de token enviado para revocación, por ejemplo, access_token o refresh_token.

Ejemplo de solicitud:

   POST /api/v1/oauth/revoke
   Content-Type: application/x-www-form-urlencoded

client_id=CLIENT_ID&client_secret=CLIENT_SECRET&token=TOKEN&token_type_hint=access_token
post/api/v1/oauth/revoke

Request

  • Base URL: https://api-pro.skydropx.com
  • URL: https://api-pro.skydropx.com/api/v1/oauth/revoke
  • Auth: none required

Request body

client_idstring required
client_secretstring required
tokenstring required
token_type_hintstring nullable

Response

Revocar un token

object required

Changes

No recorded changes to this operation across all 1 revision of this API.