---
title: "Update calendar settings"
method: PATCH
path: "/agents/{id}/calendars/{calendarId}"
tags: ["agents"]
---

# Update calendar settings

`PATCH /agents/{id}/calendars/{calendarId}`

## Request

- Base URL: `https://be.skipcalls.com` (the document declares no server; this is the origin it was published from)
- URL: `https://be.skipcalls.com/agents/{id}/calendars/{calendarId}`
- Auth: HTTP bearer

Partial update of a calendar link — work hours, timezone, default duration, buffer minutes, active flag, double-booking permission. Use for seasonal schedule changes, timezone updates after relocation, or enabling/disabling booking temporarily.

## Path parameters

- `id` string, required
- `calendarId` string, required

## Request body

- UpdateAgentCalendarDto
  - `calendarId` string
  - `description` string
  - `defaultDuration` number
  - `bufferMinutes` number
  - `timezone` string
  - `workHoursByDay` object: Work hours by day in HHMM format (e.g., {"MONDAY": [900, 1730]})
  - `workDays` string[]
  - `isActive` boolean: Allow event creation on this calendar
  - `showEventNames` boolean: Share event names with callers instead of just busy/free times
  - `allowDoubleBooking` boolean: Allow booking overlapping appointments on the same time slot
  - `allowCancellation` boolean: Let the AI cancel a caller's upcoming booking on this calendar. Matched by caller ID only.

## Response `200`

## Changes

- **2026-10-18** `df3759177711`: 1 info
  - added the new optional request property `allowCancellation`

[Operation history](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/changes/agents/:id/calendars/:calendarId/patch.md)

---

[API](https://skmtc.dev/skipcalls/apis/skipcalls-public-api.md) - [All operations](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/revisions/c893bb6c0091?raw)
