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

> Update Trello board metadata, visibility, Workspace, or watch state.

`updateBoard` changes selected fields on a board. Use `closed: true` to archive it or `closed: false` to reopen it.

```ts automations/archive-trello-board.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { updateBoard } from "automate.ax/trello"

export default automation("Archive Trello board", () => {
  onHttpRequest({ scope: "automation" })
  updateBoard({ board: "board-id", closed: true })
})
```

## Inputs

Required `board` accepts an ID, short link, or URL. Provide at least one of `closed: boolean`, `description: string`, `name: string`, `organizationId: string`, `permissionLevel: "org" | "private" | "public"`, `selfJoin: boolean`, or `subscribed: boolean`. Optional `account` defaults to the project binding.

## Output

Returns the updated `TrelloBoard`. Moving a board or changing visibility can fail when the connected member lacks the required Workspace permissions.
