Revoke a session owned by the current user
post_sessions_revoke_session_idSelf-service dashboard endpoint. Revokes a session owned by the caller in the current workspace.
The session ends and its stored data is destroyed permanently; this is not sign-out.
Requires workspace enableSelfService: true.
Source: POST /api/v1/sessions/revoke/{sessionId}
Requires auth.userToken and forwards it as a Bearer token.
Prefer connection.workspaceName and connection.appId as stable config instead of generating identity fields dynamically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection": "<connection>",
"params": "<params>"
},
"name": "post_sessions_revoke_session_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | ||
| body | No | ||
| query | No | ||
| params | Yes | ||
| connection | Yes |