Batch update rule fields
Update specific fields across multiple alert rules at once. Only the fields listed in fields are applied.
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Alerting Rules Manage (monit) |
Usage
- Include the field names you want to update in the
fieldsarray, e.g.["enabled", "channel_ids"]. - Only the specified fields are updated; others are left unchanged.
- Every call is recorded in the account audit log. Don’t put secrets in request fields.
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Rule IDs to update.
Field names to update.
Timezone in which the rule executes. IANA timezone name; defaults to Asia/Shanghai.
Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.