Skip to main content
PUT
Update rule

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

ruleId
integer
required

The rule ID

Body

application/json
name
string

The name of the rule.

Maximum string length: 64
description
string | null

An optional description of what the rule does.

Maximum string length: 192
enabled
boolean

Whether the rule is active. Disabled rules are not applied.

actions
object[]
trigger_on_any_condition
boolean

When true, the rule triggers if any condition matches; when false, all conditions must match.

skip_other_rules_when_triggered
boolean

When true, no further rules are evaluated once this rule triggers.

conditions
any[]

The full set of conditions for the rule. Include an id on an entry to update an existing condition, or omit it to create a new one. Each entry has the same shape as in the create-rule endpoint.

financial_accounts
any[]

The financial accounts the rule is attached to, each as { id, order }. Only accepted for rules attached to financial accounts.

The transfer links the rule is attached to, each as { id, order }. Only accepted for rules attached to transfer links.

Response

message
string
required
Allowed value: "Rule updated."
data
RuleResource · object
required