POST /auth/logout
Logout
Logout
/auth/logoutResponses
200
NestAuthLogoutResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
message | string | required | Response message Example: Logged out successfully |
Example response
{
"message": "Logged out successfully"
}Try it
curl -X POST 'https://api.example.com/auth/logout' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'