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"
}
'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?