---
title: "Update Calendar Config"
method: PUT
path: "/api/user/calendar/config"
---

# Update Calendar Config

`PUT /api/user/calendar/config`

Replace all enabled calendars (delete existing, insert new).

The ``is_primary`` flag is auto-detected by querying Google's
calendarList for the current user, so the frontend does not need to
pass it through. The agent uses it to disambiguate when the LLM
omits ``calendar_id`` and the user has multiple enabled calendars.

## Request body

- CalendarConfigUpdate
  - `calendars` CalendarConfigEntry[], required
    - `calendar_id` string, required
    - `display_name` string, required
    - `disabled_tools` string[]
    - `access_role` string

## Response `200`

Successful Response

- CalendarConfigResponse
  - `calendars` CalendarConfigEntry[], required
    - `calendar_id` string, required
    - `display_name` string, required
    - `disabled_tools` string[]
    - `access_role` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.net/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/versions/327e305858ac/schema)
