Perform a batch action on monitors matching the provided filters.
Supported actions:
Use dry_run: true (the default) to preview which monitors would be affected before performing the action. Results are paginated via the limit parameter — loop until has_more is false to process all matching monitors.
The action to perform on matching monitors. delete permanently removes them, pause sets their status to paused, and unpause sets their status to active.
delete, pause, unpause At least one filter field must be provided to prevent accidental bulk operations.
When true, returns the monitors that would be affected without performing the action. Defaults to true.
Maximum number of monitors to process in a single request. Defaults to 50, maximum 500.
1 <= x <= 500Batch action result
The action that was performed
delete, pause, unpause The number of monitors affected by the action
The IDs of the monitors that were affected
Whether this was a dry run
Whether there are more monitors matching the filter. If true, repeat the request to process the next batch.