Automations
Update publish or unpublish an automation
PATCH body is a discriminated union (one of):
- Update —
{ automationId, name? | description? | nodes? | connections? | triggerEventId? }. - Publish / unpublish —
{ automationId, published: true | false, automationVersionId? }. - Dry-run update — add
dryRun: trueto the update branch to validate without persisting.
Bodies that match multiple branches OR no branch are rejected with 400 INVALID_REQUEST.
PATCH
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Body
application/json
- Option 1
- Option 2