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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Update calendar

> Update metadata on an owned Google Calendar.

`updateCalendar` patches an owned calendar's shared metadata.

## Example

```ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { updateCalendar } from "automate.ax/google-calendar"

export default automation("Rename a launch calendar", () => {
  onHttpRequest({ scope: "automation" })

  updateCalendar({
    calendar: "Product launch",
    summary: "2026 product launch",
  })
})
```

## Inputs

`calendar` defaults to primary. Provide at least one of `summary`,
`description`, `location`, or `timeZone`; pass an empty string to clear a
description or location. `account` selects the Google account.

## Output

Returns the updated `Calendar`; see [Get calendar](/reference/integrations/google-calendar/actions/get-calendar#output). This changes calendar-wide metadata, not the connected user's `summaryOverride` or display settings.
