Skip to content

User Logout

POST
/auth/logout

Invalidates and destroys a user session by token. This endpoint is used to log out a user and clean up their session data.

Request Body

application/json
JSON
{
"token": "string"
}

Responses

Session successfully destroyed
application/json
JSON
{
}

Playground

Server
Body

Samples

Powered by VitePress OpenAPI

Distributed under the MIT License