Skip to main content
POST
/
api
/
auth
/
logout
Logout
curl --request POST \
  --url https://api.example.com/api/auth/logout/
{
  "message": "Logout successful"
}
Logout and invalidate the current session.
Requires authentication. Include the access token in the Authorization header.

Success Response (200)

message
string
Success message
{
  "message": "Logout successful"
}