---
title: "Set Connection Calendars"
method: PUT
path: "/calendar/connections/{connection_id}/calendars"
tags: ["calendar"]
---

# Set Connection Calendars

`PUT /calendar/connections/{connection_id}/calendars`

Replace the set of calendars the agent may read for this connection.

## Path parameters

- `connection_id` string, required

## Request body

- SelectCalendarsRequest
  - `calendar_ids` string[], required

## Response `200`

Successful Response

- SelectCalendarsResponse
  - `success` boolean, required
  - `selected_calendars` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/stardrift/apis/fastapi/revisions/4204d4053799?raw)
