App\Http\Controllers\Api\V1\Auth\AuthController::logout()api.v1.auth.logoutAuthorization: Bearer {token}POST/api/v1/auth/logoutapplication/json200 OK{
"success": true,
"status": "success",
"message": "Successfully logged out"
}data key: the envelope omits it entirely when the payload is null.401 Unauthorized{
"success": false,
"status": "error",
"message": "Unauthenticated"
}message is one of Unauthenticated (no token supplied), Invalid token (malformed or unknown), Token expired.curl --location --request POST 'https://test.diveraid.com/api/v1/auth/logout' \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "string",
"data": null
}