Logout Current User Session
This endpoint allows an authenticated user to log out of any of their sessions on the workspace. It is designed specifically for the user to terminate their sessions and cannot be used to log out sessions belonging to other users on the workspace.
URL | Requires Auth | HTTP Method |
|
|
|
Headers
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | The authenticated user ID. |
|
| Required | Auth token. |
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.
Session not found: Occurs when the
sessionId
doesn't belong to the current user making the request or does not exist.
Change Log
Version | Description |
---|---|
5.0.0 | Added |
Last updated