Nest Authbeta

POST /auth/logout

Logout

Logout

POST/auth/logout

Responses

200

NestAuthLogoutResponseDto

FieldTypeRequiredDescription
messagestringrequiredResponse 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'

On this page