Skip to main content
PATCH
Update Business Rule
Updates a Business Rule directly. Business Rules do not create versions.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Path parameters

string
required
Business Rule ID.

Body parameters

string
Updated rule name.
string
Updated workflow description.
string
Updated source. The current enum value is widget.
string
Updated trigger. The current enum value is on_escalation.
RuleNodeConfig
Updated custom rule tree. Template-based rules cannot define this field.
InputSchemaField[]
Updated runtime input bindings.
string[]
Updated agent assignments.

Response

Returns the updated Rule.

Errors

The body is malformed, a template-based rule defines flowConfig, or a referenced agent, action, or widget form is invalid.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope required for this route.
The Business Rule does not exist in your workspace.