cURL
curl --request PUT \ --url https://api.engagefabric.com/projects/{projectId}/rules/{ruleId} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "priority": 100, "conditions": {}, "actions": [ "<string>" ], "status": "DRAFT", "isActive": true, "metadata": {} } '
Rule name
255
Rule description
Priority (lower = higher priority)
Conditions tree (JSON)
Actions list (JSON array)
Rule status
DRAFT
TESTING
PUBLISHED
ARCHIVED
Whether the rule is active
Additional metadata
Rule updated successfully