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.
Headers
X-GEMINI-APIKEY
string · requiredYour API key
X-GEMINI-SIGNATURE
string · requiredHEX-encoded HMAC-SHA384 of payload signed with API secret
X-GEMINI-PAYLOAD
string · requiredBase64-encoded JSON payload
Content-Type
stringDefault: text/plainContent-Length
stringDefault: 0Cache-Control
stringDefault: no-cache
Request Body
request
string · requiredThe literal string "/v1/oauth/revokeByToken"
Responses
message
stringA message that indicates the token has been revoked for the account