v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🔐 Authentication

Logout user

The API endpoint is responsible for logging out users from the application and destroying the access token cookies stored on the client-side.

When accessing this endpoint, it triggers the logout process, revoking the user's authentication and terminating their active session.

Additionally, it ensures that any access token cookies associated with the user's session are removed from the client's browser, effectively logging them out from the application.

post/users/logout

Response

Logout user

dataobject
messagestring
statusCodenumber
successboolean

Example response

{
  "message": "User logged out",
  "statusCode": 200,
  "success": true
}