Revoke a Refresh Token

Use this endpoint to revoke a Refresh Token if you suspect it has been compromised, effectively preventing its further use for authentication.

Request
Request Body schema: application/json

Revoke Refresh Token

client_id
required
string
client_secret
required
string
refresh_token
required
string

The refresh token which you want to invalidate

Responses
200

Success Response

422

Error

429

Too Many Requests

500

Error

post/v1/oauth/revoke
Request samples
application/json
{
  • "client_id": "partner",
  • "client_secret": "secret12345",
  • "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6Imx5ZGlhIiwiZXhwIjoxNjY0MDIzMzkyLCJuYmYiOjE2NjM5MzY5OTIsImlhdCI6MTY2MzkzNjk5MiwianRpIjoiY2UxZmFjMDEtNDhjZC00NWE4LWI3YjQtYTA2NDQxZTUwZWE4In0.ZYafj15LT5hrFXzWjtzZci1yvL9INKyv85FeGxUaRfE"
}
Response samples
application/json
{
  • "errors": [
    ]
}