Gemini Crypto Exchange Logo
REST API

OAuth (1.0.0)

Endpoint

Revoke OAuth Token

POST
https://api.gemini.com
/v1/oauth/revokeByToken

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.

Revoke OAuth TokenHeaders

  • 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
    Default: text/plain
  • Content-Lengthstring
    Default: 0
  • Cache-Controlstring
    Default: no-cache

Revoke OAuth TokenRequest Body

  • requeststring · required

    The literal string "/v1/oauth/revokeByToken"

Revoke OAuth TokenResponses

    • messagestring

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