Reject appointment
reject_appointmentTurn down a PENDING booking request; it becomes CANCELLED with rejectedAt and the reason recorded. Only for PENDING; otherwise conflict. Use this, not cancel_appointment, when declining a request; to call off an already CONFIRMED appointment use cancel_appointment. Emails the carrier that the request was declined. Final: can't be undone. Returns the updated appointment. Requires scope appointments:write (Scheduler role or above).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason, stored as rejectionReason, e.g. "No doors free that morning". | |
| appointmentId | Yes | Appointment id, from list_appointments, get_appointment, or create_appointment. |