Deskhero Developer Hub
Back to deskhero.com
Account

Revoke user session

Revokes one of the current User's own sessions by id, which signs that browser out or stops that personal API token from working. Sessions that belong to another User, or that are not active any more, are reported as not found.

PUT /api/sys/v{version:apiVersion}/account/revoke_user_session/{id}
Authorisation
Minimum role: USER

Request arguments

Name Type Source
idStringPath
Request body example

Response

Status
200 (OK)
Type
DTO_acknowledgement
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_acknowledgement
NameTypeReadOnlyDescription
messageStringMessage

Generated Aug 4, 2026 18:37