APITrackersTrackers — Update

Trackers — Update

Patch interval, active state, rules, or notification targets.

PATCH/api/v1/tracking/trackers/{tracker_id}Free.
Send only the fields you want to change. Replacing `rules` resets all per-rule state.

Body / path parameters

tracker_id
string·pathrequired
Tracker ID.

Body example

{
  "interval_hours": 12,
  "active": true,
  "notify_targets": [
    {
      "cred_id": "cred_slack_alerts",
      "channel_id": "C0123"
    }
  ]
}

Response

placeholder inline shape — run scripts/dump_doc_samples.py on the server to populate real samples.
{
  "id": "trk_xyz",
  "interval_hours": 12,
  "active": true
}
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/tracking/trackers/", {
  method: "PATCH",
  headers: {
    "X-API-Key": "<YOUR_API_KEY>",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "interval_hours": 12,
    "active": true,
    "notify_targets": [
      {
        "cred_id": "cred_slack_alerts",
        "channel_id": "C0123"
      }
    ]
  }),
});
const data = await res.json();
Try it
Base URL
https://api.logposervices.com
Path
tracker_idpathrequired
Body
Response

Click Send Request above to try this endpoint.