Skip to main content
POST
/
api
/
v1
/
auth
/
logout
Logout
curl --request POST \
  --url http://localhost:{port}/api/v1/auth/logout \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token authentication

Response

200 - application/json

Logged out successfully

success
boolean
required

Whether the operation was successful

message
string

Additional information about the operation