Skip to main content
POST
/
auth
/
revoke
Revoke a token
curl --request POST \
  --url https://api.sandbox.monite.com/v1/auth/revoke \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-monite-version: <x-monite-version>' \
  --data '
{
  "client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "client_secret": "<string>",
  "token": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-monite-version
string<date>
required

Body

application/json
client_id
string<uuid>
required

Your partner client ID obtained from the "API Credentials" section of Monite Partner Portal. Note that the sandbox and production environment use different client IDs.

client_secret
string
required

Your partner client secret obtained from the "API Credentials" section of Monite Partner Portal. Note that the sandbox and production environment use different client secrets.

token
string
required

The token to revoke.

Response

Successful Response

message
string
required