Pular para o conteúdo principal

OAuthRevokeRequest

Credenciais e token usados para revogar um token de acesso OAuth 2.0.

client_idstringobrigatório

Identificador público do cliente OAuth fornecido pela Destrava.

Exemplo preencher-com-client-id
client_secretstringobrigatório

Segredo do cliente OAuth.

Exemplo preencher-com-client-secret
tokenstringobrigatório

Token de acesso retornado pelo endpoint de tokens OAuth.

Exemplo eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
token_type_hintstring

Indicação opcional do tipo de token OAuth. A API V2 aceita access_token.

Valores possíveis: [access_token]

Exemplo access_token
OAuthRevokeRequest
{
"client_id": "preencher-com-client-id",
"client_secret": "preencher-com-client-secret",
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type_hint": "access_token"
}