TelefonAIv1
Calendar setup

Update the rules

Update the rules. Omit a field and it is left alone; send null and the rule is removed. The two are not the same, and without the distinction a rule could be set but never taken away again.

PATCH/v1/booking-rules

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Request

curl --request PATCH \
  --url "https://api.telefonai.dk/v1/booking-rules" \
  --header "Authorization: Bearer $API_NOEGLE" \
  --header "Content-Type: application/json" \
  --data '{}'

Response

application/json

Success.

object

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