Update a rule
Rules
Update a rule
Rename, change conditions, action, enabled state or metadata. Fields are replaced whole, not merged.
POST
Update a rule
Authorizations
Authorization: Bearer rbk_live_...
The API release your integration is built against, e.g. 2026-10-01.wattle. Required on every request.
Path Parameters
The id of the object.
Example:
"rule_2Ab4Cd6eFg8hJk0lMn2oPq"
Body
application/json
Response
Updated
Example:
"rule_2Ab4Cd6eFg8hJk0lMn2oPq"
Available options:
rule Groups of conditions (OR across groups, AND within). See the rules guide.
{ type: "skip" | "email" | "set_category" | "set_merchant", value? }
Up to 50 string pairs. Set a key to null in an update to unset it.
Example:
"2026-08-21T09:30:00.000Z"
Example:
"2026-08-21T09:30:00.000Z"