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

> Apply JSON Patch operations to an editable JobNimbus activity.

`jobNimbus.updateActivity` apply JSON Patch operations to an editable JobNimbus activity.

```ts automations/jobnimbus-update-activity.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { jobNimbus } from "automate.ax/jobnimbus"

export default automation("Update activity", () => {
  onDashboardRun({ title: "Update activity" })
  jobNimbus.updateActivity({
    activityId: "activity-id",
    operations: [{ op: "replace", path: "/content", value: "Updated note" }],
  })
})
```

## Inputs

Provide `activityId` and at least one RFC 6902 `add`, `replace`, or `remove` operation. Paths begin with `/`; add and replace operations require a JSON value. Optional second argument `{ account }` selects a named JobNimbus binding.

## Output

Returns the updated `JobNimbusActivity`.
