Disconnect a user session
DELETE/user/:realm/disconnect/:sessionID
Terminates the active MQTT connection identified by sessionID. The realm must match the session owner's realm. Authenticated users may disconnect their own sessions without an additional client role. Disconnecting another user's session requires the openremote client role write:admin or superuser status. Non-superusers are limited to their own active realm; superusers may disconnect sessions across realms, including inactive realms.
Request
Responses
- 204
- 401
- 403
- 404
- 405
The request completed successfully; no response body is returned
Authentication is required or the supplied credentials are invalid
The realm is inactive for a non-superuser, or the caller is neither the session owner, a user with write:admin, nor a superuser
The session or its owning user does not exist, or the session does not belong to the specified realm
A non-superuser cannot access the session owner's realm