Revoke Token
Revokes an access token or a refresh token (and the grant behind it). It always answers 200, whether or not the token existed. Users can also disconnect a connector from Dashboard → Apps.
POST
/api/oauth/revokeAuthentication
None
no credentialsPublic clients send client_id and the token. Confidential clients also send client_secret.
Query Parameters
tokenstringThe access token or refresh token to revoke.
client_idstringThe client the token was issued to.
client_secretstringOnly for confidential clients.
Responses
200Success
application/jsonstatusstringRequest
curl --request POST \--url "https://app.pandaidx.com/api/oauth/revoke" \--header "Content-Type: application/json" \--data-raw '{"token": "{{refresh_token}}", "client_id": "{{client_id}}"}'
Response200 OK
{"status": "ok"}