Try the RankNibbler SEO API

Update a maintenance window Beta

PATCH /api/v1/maintenance/{id}

Send only the fields to change, with the same rules as create. PUT does 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. "maintenance": { "id": "mw_3f9a0c1d2e4b5a6c7d8e", "to": "2026-09-20T04:00:00.000Z", "effectiveTo": "2026-12-31T23:59:59.000Z", … },
  3. "usage": { "used": 33, "dailyLimit": 100, "tier": "free" }
  4. }

Errors

StatusWhen
400A field isn't valid, the window would last over 30 days, occurrences would overlap, no monitors are chosen, or a monitor id is unknown.
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 maintenance window with that id in your workspace.
405The endpoint doesn't accept that method.
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