Try the RankNibbler SEO API

Update a monitor Beta

PATCH /api/v1/monitors/{id}

Send only the settings you want to change. Everything you leave out keeps its current value. PUT to the same path does exactly the same thing.

Needs an X-API-Key header whose owner has permission to manage uptime monitors in the app. The call counts once against your daily quota. See Monitoring API: getting started for authentication, rate limits and errors.

Request

Response

200 · application/json
  1. {
  2. "monitor": { "id": "mon_79ce3cf9c4fa56e98af4", "intervalMinutes": 30, "importance": "low", "tags": ["staging"], … },
  3. "urlChanged": false,
  4. "usage": { "used": 15, "dailyLimit": 100, "tier": "free" }
  5. }

Errors

StatusWhen
400A setting isn't valid (the message says which), the body isn't valid JSON, or a new URL is a private, local or blocked address.
401The API key is missing or invalid.
403The key's owner doesn't have permission to manage uptime monitors, or the key isn't linked to a workspace.
404No monitor with that id in your workspace.
405The endpoint doesn't accept that method.
409The new URL is already monitored in your workspace.
429A rate limit or your daily quota was hit. Read Retry-After, in seconds. Writes are also limited to 30 a minute per key.
500Something went wrong on our side. Try again.
503The API is temporarily unavailable. Try again shortly.

Errors are JSON: { "error": "message" }. See Monitoring API errors.

Related