Skip to main content
PUT
Update
🔑 Requires the alert_rules.update scope.

Authorizations

Authorization
string
header
required

API key from your incident.io dashboard (Settings → API keys)

Path Parameters

id
string
required

Unique identifier of the set of rules

Example:

"01FCNDV6P870EA6S7TK1DSYDG0"

Body

application/json
blocks
object[]
required

The blocks of rules, in order. Every block runs for an alert.

Example:
expressions
object[]

Expressions the blocks' conditions and actions reference. Omit it when the rules use none.

Example:
message_template
object
Example:
version
integer<int64>

The version this update writes. When set, it must be one more than the set's current version, so two editors can't overwrite each other. When omitted, the update applies to the current version.

Example:

4

Response

OK response.

alert_rule_set
object
required

One set of alert rules: the organisation's required rules, its default rules, or one team's rules