POST
/
v1
/
token
/
logout
Log the user out (Invalidate the token)
curl --request POST \
  --url https://api.comm.com/api/v1/token/logout \
  --header 'Authorization: Bearer <token>'
{
  "message": "Successfully logged out"
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

The response is of type object.