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-idclient_secretstringobrigatório
Segredo do cliente OAuth.
Exemplo
preencher-com-client-secrettokenstringobrigató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_tokenOAuthRevokeRequest
{
"client_id": "preencher-com-client-id",
"client_secret": "preencher-com-client-secret",
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type_hint": "access_token"
}