Auth

Log out

Ends the presented session: the same access token answers 401 afterwards. Personal API tokens are not affected.

POST
/api/v2/auth/logout

Authorization

BearerAuthObject
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/auth/logout"
{  "message": "Logged out"}
{  "message": {    "error": "Your request was made with invalid credentials."  }}
{  "message": {    "error": "Oops! Something went wrong! Write to administrator. Your Request Id {f1177aee-9a99-42f0-a23f-4dd29fc39b65-672e0df972ccb}"  }}