user_sessions
Delete User Session
Soft delete a user session by setting its status to DELETED.
After the database delete completes, a best-effort RPC is sent to the daemon to terminate any running session process. The delete always succeeds regardless of daemon state.
Args: delete_worktree: If true, also delete the git worktree associated with this session on the user's machine.
Returns: 204 No Content on success 404 if session not found or already deleted
delete/api/v1/user-sessions/{user_session_id}
Request
- Base URL: https://docs.omnara.com (the document declares no server; this is the origin it was published from)
- URL: https://docs.omnara.com/api/v1/user-sessions/{user_session_id}
- Auth: HTTP bearer
Path parameters
user_session_idstring required
Query parameters
delete_worktreeboolean
If true, also delete the git worktree associated with this session.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.