Pular para o conteúdo principal
PATCH
Update a monitor

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

monitor_id
string
obrigatório

Monitor 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.

widgets
object[]

Replacement widget set. When update_mask contains widgets, this value replaces the full set and may be empty. Without update_mask, a non-empty array replaces all widgets while an empty or omitted array keeps them.

default_range
string

New default relative time range. Omit to keep the current value unless update_mask contains default_range, which clears it.

update_mask
string<field-mask>

Optional explicit update presence. Listed paths are replaced; omitting the mask preserves the legacy partial-update behavior.

Resposta

OK

monitor
object
obrigatório

Updated monitor.