post
https://localhost:44395/api/admin/user-session
Behavior: Updates the status of the specified user session to a new value such as Kicked, ChatRestricted, or Expired. This is commonly used to kick a user off the system or restrict their chat privileges. The affected user will see the status change on their next session ping.
Authorization: Requires a valid Bearer token (class-level [Authorize]).
Side Effects: Changes the session status. The affected user will see the status change on their next ping.
Error Scenarios: Returns 400 if the request is null or Id/UserSessionStatus are missing.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401The caller is not authenticated.
