Requires appointments:write, an Idempotency-Key and If-Match with the version you hold. Optional cancellationCategory (one of the practice's categories; default other) and reason (at most 500 characters) are recorded on the booking and shown to the practice. The booking's calendar events and video meeting are removed, and the client is told as for a cancellation in the web app, except for a held booking, whose client was never told of it. Nothing is refunded and no invoice is voided: record a refund with POST /invoices/payments/{paymentId}/refund-records and void an unpaid invoice with POST /invoices/{id}/void yourself. Class bookings are refused with 422.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400An unknown category, a reason over 500 characters, another field, or a missing Idempotency-Key or If-Match.
403Missing appointments:write scope, or a booking in a diary you may not change.
404Appointment not visible to the current account.
409Already cancelled, or the Idempotency-Key was used with another request.
412Stale version: read the booking again and retry with its version.
422A class booking.
503The booking API is not enabled for this key, or is temporarily unavailable.
