---
title: "Partially update a monitor"
method: PATCH
path: "/api/v1/monitors/{id}"
---

# Partially update a monitor

`PATCH /api/v1/monitors/{id}`

## Request

- Base URL: `https://app.pingvera.com`
- URL: `https://app.pingvera.com/api/v1/monitors/{id}`
- Auth: HTTP bearer

Scope write:monitors, the token's org must match the monitor's org (otherwise 404 — foreign resources aren't revealed). All body fields are optional, send only what changes (partial update). target/type cannot be changed — that would be a different monitor.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `enabled` boolean
  - `muted` boolean: mute: checks keep running, but without affecting health and without alerts
  - `interval_s` integer
  - `config` object
  - `fail_threshold` integer
  - `resolve_grace_s` integer: окно подтверждения восстановления, сек; 0 = глобальный дефолт сервера
  - `degraded_latency_ms` integer
  - `site` string: public_id сайта; "" отвязывает

## Response `204`

No Content — updated

## Other responses

- `400`: invalid fields
- `401`: missing/invalid token
- `402`: interval below the plan's minimum
- `403`: missing write:monitors scope
- `404`: monitor not found or belongs to another organization

---

[API](https://skmtc.dev/pingvera/apis/pingvera-api.md) · [All operations](https://skmtc.dev/pingvera/apis/pingvera-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pingvera/apis/pingvera-api/revisions/3b0db4cd7cca?raw)
