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

> Update, move, archive, schedule, or reassign a Trello card.

`updateCard` changes selected mutable fields. It can also replace all labels or members, move the card, and explicitly clear its dates.

```ts automations/move-trello-card.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { updateCard } from "automate.ax/trello"

export default automation("Finish Trello card", () => {
  onHttpRequest({ scope: "automation" })
  updateCard({ card: "card-id", listId: "done-list-id", dueComplete: true })
})
```

## Inputs

`card` is required and accepts an ID, short link, or URL. Provide at least one of `address`, `boardId`, `closed`, `description`, `dueAt`, `clearDue`, `dueComplete`, `labelIds`, `listId`, `locationName`, `memberIds`, `name`, `position`, `startAt`, `clearStart`, or `subscribed`. Dates accept `Date` or an ISO timestamp with offset. Position is `"top"`, `"bottom"`, or a nonnegative number. Optional `account` defaults to the project binding.

`labelIds` and `memberIds` replace the complete current collections. Pass `[]` to remove all. `clearDue` cannot accompany `dueAt`, and `clearStart` cannot accompany `startAt`.

## Output

Returns the updated `TrelloCard`. Moving a card between boards can require destination board access and compatible labels or members.
