APIMonitorsMonitors — Update

Monitors — Update

Partial edit. Toggle `active` to pause/resume.

PATCH/api/v1/monitors/{monitor_id}Free.
Set `active: false` to pause checks (the worker skips inactive monitors); `active: true` to resume.

Body / path parameters

monitor_id
string·pathrequired
Monitor ID.

Body example

{
  "active": false,
  "check_interval_hours": 24,
  "threshold": 175
}

Response

placeholder inline shape — run scripts/dump_doc_samples.py on the server to populate real samples.
{
  "id": "m_…",
  "active": false,
  "check_interval_hours": 24,
  "threshold": 175
}
API Key

Paste your full key once — cached in this browser for 7 days, then cleared.

const res = await fetch("https://api.logposervices.com/api/v1/monitors/", {
  method: "PATCH",
  headers: {
    "X-API-Key": "<YOUR_API_KEY>",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "active": false,
    "check_interval_hours": 24,
    "threshold": 175
  }),
});
const data = await res.json();
Try it
Base URL
https://api.logposervices.com
Path
monitor_idpathrequired
Body
Response

Click Send Request above to try this endpoint.