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

# Archive project

> Archive a Linear project or move it to recently deleted.

`archiveProject` archives by default; `trash: true` uses Linear's recently deleted view.

```ts automations/archive-linear-project.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { archiveProject } from "automate.ax/linear"

export default automation("Archive Linear project", () => {
  onHttpRequest({ scope: "automation" })
  archiveProject({ projectId: "project-slug" })
})
```

`projectId` is a UUID or slug. Optional `trash` and `account` are supported. Returns the archived `LinearProject`.
