OAuth

Revoke OAuth Token

The access_token may be revoked at any time by using v1/oauth/revokeByToken. Once a token is revoked or expires, it can no longer be used to make requests.

This endpoint is only available using an access_token and will revoke the token used to make the request.

post/v1/oauth/revokeByToken

Request

  • Base URL
    https://api.gemini.com
  • URL
    https://api.gemini.com/v1/oauth/revokeByToken
  • Auth
    API key in header X-GEMINI-APIKEY and API key in header X-GEMINI-SIGNATURE and API key in header X-GEMINI-PAYLOAD

Headers

X-GEMINI-APIKEYstring required

Your API key

X-GEMINI-SIGNATUREstring required

HEX-encoded HMAC-SHA384 of payload signed with API secret

X-GEMINI-PAYLOADstring required

Base64-encoded JSON payload

Content-Typestring
Content-Lengthstring
Cache-Controlstring

Request body

requeststring required

The literal string "/v1/oauth/revokeByToken"

Response

An object that indicates the access_token has been revoked.

messagestring

A message that indicates the token has been revoked for the account

Changes

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