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.