Skip to main content
POST
/
auth
/
logout
User logout
curl --request POST \
  --url https://api.anycheck.ai/auth/logout \
  --header 'Authorization: Bearer <token>'
{
"success": true,
"data": null
}

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login endpoint.

Example:

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Response

Logout successful

success
boolean
Example:

true

data
object
Example:

null