Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Revoke OAuth token

Revokes an access/refresh token - the client id and secret can also be provided in an authorization header using the Basic scheme

POST/{apiBasePath}/oauth/revoke
Path parameters
apiBasePathstringrequired
Its value depends on the apiBasePath set by the user
Request body
application/json
tokenstringrequired
client_idstring
client_secretstring
Responses
200Revoked the access/refresh token
One of:
object
statusstatusOKrequired
Success status indicator
Allowed:OK
generalErrorResponse
statusstring
Error status code
Allowed:GENERAL_ERROR
messagestring
Error message
400OAuth2 specific error response
errorstring
The OAuth2 error code
error_descriptionstring
Human readable error description
404Resource not found error
string
500Internal server error
string
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/auth/oauth/revoke" \
  -H "Content-Type: application/json" \
  -d '{
  "token": "string",
  "client_id": "st-cl-test-client",
  "client_secret": "superSecret"
}'
Response
{
  "status": "OK"
}

API reference

API schema and response details