This endpoint is used to securely log out of your account by ending your current session. Once logged out, you will no longer have access to protected areas of the platform until you log in again.
Typical scenario: A user logs out through a sign-out action in the application, ending access to protected resources.
How it works: 1️⃣ Send a logout request – This signals the system to end the active session. 2️⃣ Session ends – The user's access is revoked immediately. 3️⃣ Protected features blocked – Any further actions that require login will be denied until the user signs in again.
Authorization: Bearer YOUR_TOKEN
Expected Behavior:
The system will log you out, revoke your session, and invalidate any related tokens.
If the request is unauthorized or invalid, the system will respond with an error message explaining the issue.
ResponseThis section is used to view the possible HTTP response codes returned by the API. These codes indicate the status of a request, such as 201 (Created), 401 (Unauthorized), 409 (Conflict), or 422 (Unprocessable Entity).