This is a POST request to log out the authenticated user. You must be authenticated to call this endpoint.
POST /api/logout
{
"status": "error",
"code": 401,
"message": "Unauthenticated",
"data": "Unauthenticated request. Please log in to access this resource."
}