Skip to main content
POST
/
revoke_auth_token
Revoke Auth Token
curl --request POST \  --url https://api.perplexity.ai/revoke_auth_token \  --header 'Authorization: Bearer <token>' \  --header 'Content-Type: application/json' \  --data '{  "auth_token": "pplx-1234567890abcdef" }'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
auth_token
string
required

The authentication token to revoke.

Example:

"pplx-1234567890abcdef"

Response

200

Successfully revoked authentication token.

⌘I