Skip to main content
POST
UpdateTargets

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

UpdateTargetsRequest replaces an alert's delivery targets.

identifier
fqn · object
required

Identifier for the config to update.

targets
(email · object | ms_teams · object | owner · object | slack · object | webhook · object)[]

The complete set of delivery targets, replacing the existing ones. At least one target is required; the allowed target types depend on the alert's kind.

AlertingTarget represents a destination where alert notifications will be sent. Each target type has its own specific configuration requirements.

Response

200 - application/json

Success

UpdateTargetsResponse returns the updated alert configuration.

alert
Alert · object
required

The alert configuration that was updated.