POST
/
api
/
auth
/
logout
Logout
curl --request POST \
  --url http://localhost:3000/api/auth/logout \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Logged out

success
boolean
Example:

true

message
string
data
any