Skip to content
Developer Preview

session/leaveCompleted

Protected correlated terminal for an admitted session/leave.

Type: SessionLeaveCompletedParams

Params of the protected, non-view leave terminal notification.

Field Type Stability Presence Description
commandId string required The leave command’s id, matching the session/leave request.
outcome SessionLeaveOutcome required How the leave ended: released or failed. The set is open, so newer hosts may add outcomes.
reason SessionLeaveFailureReason optional Why the leave failed. Present when outcome is failed.
sessionId string required The session the leave was for.
viewCursor string optional The session’s view cursor at release: everything up to it was folded before the host let go. Present when outcome is released.
Source

schema/msp/experimental/msp.schema.json#/notifications/session~2FleaveCompleted

{
"description": "Protected correlated terminal for an admitted session/leave.",
"params": {
"$ref": "#/$defs/SessionLeaveCompletedParams"
}
}