Logout Session
This endpoint allows an authorized user to log out other user's session on the workspace. It provides the capability to terminate sessions of other users, ensuring workspace security and management.
It requires the
logout-device-management
permission.It requires two-factor authentication.
URL | Requires Auth | HTTP Method |
---|---|---|
|
|
|
Headers
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | The authenticated user ID. |
|
| Required | Auth token. |
|
| Required | The 2fa code. |
Payload
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | The session id. |
Example Payload
Example Call
Example Result
Success
Error
Any of the following errors can occur on the endpoint.
Authorization: Requires an authentication token for the request to be made.
No Permission: Occurs when the authenticated user doesn't have the
logout-device-management
permission.TOTP Required: Requires two-factor authentication for the request to be made.
Invalid TOTP: Requires a valid two-factor authentication code.
Session not found: Occurs when the
sessionId
does not exist.
Change Log
Version | Description |
---|---|
5.0.0 | Added |
Last updated