POST
/
v1
/
auth
/
token
/
revoke
curl --request POST \
  --url https://api.nomba.com/v1/auth/token/revoke \
  --header 'Content-Type: application/json' \
  --data '{
  "access_token": "eyJhbGciOiJIUzI1NiJ9.eyJHOjhmYWM4M2FjLTc2YjAtNDM1Zi1hYTM1LThkOTU3ZGQ5MjdkZCI6Ikc6OGZhYzgzYWMtNzZiMC00MzVmLWFhMzUtOGQ5NTdkZDkyN2RkIiwiUjpURUFNU19PV05FUiI6IlI6VEVBTVNfT1dORVIiLCJFbWFpbDp2aWN0b3JzaG9hZ2FAZ21haWwuY29tIjoiRW1haWw6dmljdG9yc2hvYWdhQGdtYWlsLmNvbSIsImlhdCI6MTY4MTkxODU3OSwic3ViIjoiNWUyNmNmYjAtNTI5Zi00MTdiLWI4ZDItYWJjNDcxZjRjOWRiIiwiZXhwIjoxNjgxOTIyMTc5fQ.lQOsyhR1gajKdzE9IHQEtxhQyUrArctEDZiP9pWVTFY",
  "clientId": "2242b79d-f2cf-4ccc-ada1-e890bd1a9f0d"
}'
{
  "code": "00",
  "description": "Token revoked successfully"
}

Body

application/json
access_token
string
required

The JWT (Json Web Token) token to be revoked

clientId
string
required

The client's id as obtained from your Nomba dashboard.

Response

200 - application/json
code
string

Tells if the access_token has been revoked

description
string

Describes the result of the action performed