TelefonAIv1
Bookings

Cancel the booking

Cancel the booking. The waiting list is offered the slot immediately, and the patient and the clinic are notified — exactly as when the assistant cancels on the phone.

DELETE/v1/bookings/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

The id of the resource.

Request

curl --request DELETE \
  --url "https://api.telefonai.dk/v1/bookings/<id>" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Success.

object

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}