rule_id | string | Yes | - | Automated rule ID to update or delete. |
name | string | No | - | Replacement rule name; omitted means unchanged. |
evaluation_spec | object or string | No | - | Native Meta evaluation_spec object or JSON string: evaluation_type (SCHEDULE or TRIGGER), filters (each has field, operator, value), and optional trigger. Defines target entities and conditions. To retarget an existing rule, read it first and preserve its other filters. On update supply the complete replacement evaluation_spec, not just the changed filter. |
execution_spec | object or string | No | - | Native Meta execution_spec object or JSON string. Example: {“execution_type”:“PAUSE”}; UNPAUSE resumes delivery. Other actions and their execution_options pass through unchanged for Meta to validate. On update supply the complete replacement execution_spec. |
schedule_spec | object or string | No | - | Native Meta schedule_spec object or JSON string: schedule_type and, when applicable, schedule entries with days, start_minute, and end_minute. Preserve Meta’s native schedule values when copying an existing rule. On update supply the complete replacement schedule_spec. |
status | enum (ENABLED, DISABLED, DELETED) | No | - | Enable, disable, or permanently delete the rule. Omitted means unchanged. DELETED uses Meta’s DELETE endpoint and cannot be combined with other edits. |