Rules
Pause, resume or rename a rule
/v1/rules/{id}Pausing an active critical rule is deferred by one hour (security delay):
the response is 202 with pending_change, the rule keeps running meanwhile, and
a workspace owner can cancel or confirm the request from the dashboard. Owners and
active channels are notified. 409 change_already_pending if a change is already
waiting.
Path parameters#
idstring · uuidrequired
Request body#
statestringnamestring
Responses#
Object fields
idstring · uuidnamestringkindstringRules created through the API are
large_transfer,new_counterpartyorburst; the other kinds are created from the dashboard and are returned read-only.chain_idsarray of integerparamsobjectNormalised rule parameters (amounts in raw units).
severitystringstatestringimmediate_alertbooleannullableAlert before confirmations.
null= default by severity (yes for critical).channel_idsarray of string · uuidpending_changeobjectnullableDeferred pause or deletion of a critical rule, effective at
effective_at.Object fields
idstring · uuidactionstringrequested_atstring · date-timeeffective_atstring · date-time
created_atstring · date-time
pending_change).Object fields
idstring · uuidnamestringkindstringRules created through the API are
large_transfer,new_counterpartyorburst; the other kinds are created from the dashboard and are returned read-only.chain_idsarray of integerparamsobjectNormalised rule parameters (amounts in raw units).
severitystringstatestringimmediate_alertbooleannullableAlert before confirmations.
null= default by severity (yes for critical).channel_idsarray of string · uuidpending_changeobjectnullableDeferred pause or deletion of a critical rule, effective at
effective_at.Object fields
idstring · uuidactionstringrequested_atstring · date-timeeffective_atstring · date-time
created_atstring · date-time
Standard error format: see Errors.