Skip to main content
PUT
Update
🔑 Requires the alert_grouping_preferences.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 preference

Example:

"01FCNDV6P870EA6S7TK1DSYDG0"

Body

application/json
default
object
required

The fallback branch: how to group the alerts that no conditional branch matches

Example:
branches
object[]

Grouping branches in order. Alert rules group an alert by the first branch whose conditions hold, else by the default. Alert routes only use the default. Omit it on an update to keep the current branches and expressions. Only organisations that use alert rules can add or change branches.

Example:
expressions
object[]

Expressions the branches' conditions test or compare against, as expressions["reference"]. Omit it on an update to keep the current expressions, which are also kept when branches are omitted.

Example:
version
integer<int64>

The version this update writes. When set, it must be one more than the preference'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_grouping_preference
object
required

An alert grouping preference: one team's, or the organisation's default