Cancel a booking

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
enum
string
length ≤ 500
Headers
string
required
length ≤ 100
string
required

Quoted positive integer version; bare integers are also accepted.

Responses

400

An unknown category, a reason over 500 characters, another field, or a missing Idempotency-Key or If-Match.

403

Missing appointments:write scope, or a booking in a diary you may not change.

404

Appointment not visible to the current account.

409

Already cancelled, or the Idempotency-Key was used with another request.

412

Stale version: read the booking again and retry with its version.

422

A class booking.

503

The booking API is not enabled for this key, or is temporarily unavailable.

Language
Credentials
Bearer
API Key
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json