> ## 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.

# Remove calendar from list

> Unsubscribe a Google account from a calendar without deleting it.

`removeCalendarFromList` removes a calendar from the connected user's Calendar
list. The calendar and its events continue to exist.

## Example

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

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

  removeCalendarFromList({ calendar: "Former project" })
})
```

## Inputs

`calendar: string` is required; `account` selects the Google account.

## Output

Returns the removed calendar ID. Use [Delete calendar](/reference/integrations/google-calendar/actions/delete-calendar) only when you own a secondary calendar and intend to permanently destroy it.
