> ## Documentation Index
> Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Calendar

> Update a calendar

# Update Calendar

Update a calendar's properties.

## Endpoint

```
PUT /api/v1/calendars/{calendar_id}
```

## Path parameters

<ParamField path="calendar_id" type="string" required>Calendar UUID.</ParamField>

## Request headers

<ParamField header="Authorization" type="string" required>
  Bearer token. Format: `Bearer talq_your_environment_token_here`
</ParamField>

<ParamField header="Content-Type" type="string" required>
  Must be set to `application/json`
</ParamField>

## Request body

<ParamField body="name" type="string">Calendar name.</ParamField>
<ParamField body="timezone" type="string">IANA timezone.</ParamField>
<ParamField body="metadata" type="object">Free-form metadata.</ParamField>

## Examples

<RequestExample>
  ```bash theme={null}
  curl -X PUT "https://app.talkover.ai/api/v1/calendars/calendar-uuid-1" \
    -H "Authorization: Bearer talq_your_environment_token_here" \
    -H "Content-Type: application/json" \
    -d '{ "name": "Updated Calendar Name" }'
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": {
      "id": "calendar-uuid-1",
      "name": "Updated Calendar Name",
      "updated_at": "2024-01-15T18:30:00Z"
    }
  }
  ```
</ResponseExample>
