> ## 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 member role

> Update a Trello board membership role.

`trello.updateBoardMemberRole` changes the role represented by one board membership.

```ts automations/update-trello-board-member-role.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { trello } from "automate.ax/trello"

export default automation("Update Trello board member role", () => {
  onDashboardRun({ title: "Update Trello board member role" })
  trello.updateBoardMemberRole({
    board: "board-id",
    membershipId: "membership-id",
    role: "admin",
  })
})
```

Provide `board` as an ID, short link, or standard board URL, a stable `membershipId`, and `role` as `"admin"`, `"normal"`, or `"observer"`. A membership ID is distinct from a member ID. Optional second argument `{ account }` selects a Trello binding.

Returns `Signal<{ boardId: string; membershipId: string; role: "admin" | "normal" | "observer" }>`.
