Pular para o conteúdo principal
PATCH
Update an alert
Guia relacionado: Guia de alertas. Consulte o Guia de alertas para ver um passo a passo com exemplos.

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

alert_id
string
obrigatório

Alert ID to update.

Corpo

application/json
display_name
string

New workspace-unique display name. Omit to keep the current name.

description
string

New description. Omit to keep the current description.

signal
string

New UI signal preset. Omit to keep the current value.

query
object

Replacement query. Metric, operation, and filters may change within the current telemetry source. Source changes require creating a new alert.

condition
object

Replacement condition. Omit to keep the current condition.

notifier_ids
string[]

Replacement notifier set. Omit to keep the current notifiers.

enabled
boolean

New enabled state. Omit to keep the current state.

display
object

Display options to merge. Omitted fields keep their current values.

Resposta

OK

alert
object
obrigatório

Updated alert.