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

# Set Connection Calendars

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

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/calendar/connections/{connection_id}/calendars`
- Auth: none declared

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/stardrift-api.md) - [All operations](https://skmtc.dev/stardrift/apis/stardrift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stardrift/apis/stardrift-api/revisions/be9ed1e6c38a?raw)
