Appointments
Delete Timetable Appointment
Delete one Appointment from the timetable by its recordId wire field.
If the deleted Appointment belongs to a linked visit, the response returns the remaining related Appointments as a JSON:API collection. Deleting an Appointment without related Appointments returns an empty data array.
post/locations/{location_id}/timetable/appointments/delete
Path parameters
location_idinteger required
Location ID
Query parameters
includestring[]
Related resources to include in returned Appointments
Headers
Acceptstring required
Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.
Content-Type'application/json' required
Request media type
Authorizationstring required
Bearer {partner_token}, User {user_token}
Request body
Response
Appointment deleted; remaining related Appointments returned