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"
}
'Revokes an existing authentication 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"
}
'Documentation Index
Fetch the complete documentation index at: https://docs.perplexity.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The authentication token to revoke.
"pplx-1234567890abcdef"
Successfully revoked authentication token.
Was this page helpful?
Suggestions