cURL
curl --request DELETE \ --url https://nextvisit.app/api/v1/auth/tokens/current \ --header 'Authorization: Bearer <token>'
{ "message": "Token revoked" }
Revokes the current access token used for authentication
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Token successfully revoked
Status message
"Token revoked"
Was this page helpful?