Skip to main content
POST
Revoke an access_token

Body

application/json

The request payload required to revoke a clients access_token

A structure representing a request to revoke a token.

clientId
string
required

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

Required string length: 36
Example:

"2242b79d-f2cf-4ccc-ada1-e890bd1a9f0d"

access_token
string
required

The JWT (Json Web Token) token to be revoked

Required string length: 300 - 600
Example:

"eyJhbGciOiJIUzI1NiJ9.eyJHOjhmYWM4M2FjLTc2YjAtNDM1Zi1hYTM1LThkOTU3ZGQ5MjdkZCI6Ikc6OGZhYzgzYWMtNzZiMC00MzVmLWFhMzUtOGQ5NTdkZDkyN2RkIiwiUjpURUFNU19PV05FUiI6IlI6VEVBTVNfT1dORVIiLCJFbWFpbDp2aWN0b3JzaG9hZ2FAZ21haWwuY29tIjoiRW1haWw6dmljdG9yc2hvYWdhQGdtYWlsLmNvbSIsImlhdCI6MTY4MTkxODU3OSwic3ViIjoiNWUyNmNmYjAtNTI5Zi00MTdiLWI4ZDItYWJjNDcxZjRjOWRiIiwiZXhwIjoxNjgxOTIyMTc5fQ.lQOsyhR1gajKdzE9IHQEtxhQyUrArctEDZiP9pWVTFY"

Response

Your request to revoke an access_token was successful.

A structure representing a response from an attempt to revoke a token

code
string

Tells if the access_token has been revoked

Example:

"00"

description
string

Describes the result of the action performed

Example:

"Token revoked successfully"