cURL
curl --request POST \ --url https://api.anycheck.ai/auth/logout \ --header 'Authorization: Bearer <token>'
200
Example
{ "success": true, "data": null}
Logout user and invalidate JWT token
JWT token obtained from /auth/login endpoint.
/auth/login
Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Logout successful
true
null
Was this page helpful?