portal_session_cancel
Cancel a client's session on behalf of the client (client-initiated cancellation: cancelledBy=client). Allowed from scheduled/pending_confirmation/confirmed; rejects past sessions. Idempotent: a session already cancelled returns alreadyCancelled=true. Distinct from the admin cancellation with cancellation-policy charges — this is the client-portal cancel flow. The org API key owner is recorded as the actor acting on behalf of the client (ADR-004 §6).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | ||
| orgSlug | Yes | ||
| sessionId | Yes | ||
| cancellationReason | No |