---
title: "Update monitor"
method: PATCH
path: "/monitors/{monitorId}"
tags: ["monitors"]
---

# Update monitor

`PATCH /monitors/{monitorId}`

Update an existing monitor

## Path parameters

- `monitorId` string, required

## Request body

- UpdateMonitorRequest
  - `name` string
  - `description` string
  - `interval` integer
  - `isActive` boolean
  - `notifications` string[]
  - `httpOptions` object
    - `method` 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD'
    - `headers` object
    - `body` string
    - `timeout` integer
  - `assertions` object[]
    - `type` 'status-code' | 'response-time' | 'body-contains' | 'header-contains'
    - `comparison` 'equals' | 'not-equals' | 'greater-than' | 'less-than' | 'contains' | 'not-contains'
    - `value` string

## Response `200`

Operation successful

- SuccessResponse
  - `success` boolean, required
  - `msg` string, required
  - `data` object — Response payload (varies by endpoint)

## Other responses

- `404` — Resource not found
- `422` — Validation failed
- `500` — Internal server error

## Changes

- **2026-03-18** `d213b278315e` — 1 info
  - endpoint added
- **2025-04-20** `b97ec6888b3c` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/bluewave-labs/apis/checkmate-api/changes/monitors/:monitorId/patch.md)

---

[API](https://skmtc.dev/bluewave-labs/apis/checkmate-api.md) · [All operations](https://skmtc.dev/bluewave-labs/apis/checkmate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bluewave-labs/checkmate-api/revisions/d213b278315e/schema)
