Mega icon

Mega

Work with Mega API

Automation Rule → Update

AI-generated

Summary

Update an existing automation rule by specifying its ID and the fields to modify, such as name, description, event name, active status, conditions, and actions.

Inputs

  • Automation Rule ID (required) — ID of the automation rule to update.
  • Update Fields — Fields to update on the automation rule, including name, description, event name (trigger), active status, conditions, and actions (JSON arrays).

Output shape

a single updated automation rule object

The operation updates the specified fields of the automation rule identified by the given ID. The output includes the updated details of the automation rule after modification.

Links

Discussion