post
https://localhost:44395/api/account/logout
Behavior: Ends the user's active session and invalidates the authentication token. If a UserSessionId is provided, that specific session is terminated.
Authorization: Requires a valid Bearer token ([Authorize]).
Side Effects: Terminates the user session. The logout event is recorded for auditing purposes.
Error Scenarios: Returns 401 if the caller is not authenticated.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200The user was successfully logged out and the session was deleted.
401The caller is not authenticated.
