Bulk delete monitors Beta
DELETE /api/v1/monitors?ids={ids}
Deletes many monitors, and their history, in one call.
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.
Query parameters
| Name | Type | Description |
|---|---|---|
ids required | string | Comma list of monitor ids, up to 500. Ids after the 500th are ignored. |
Request
Response
200 · application/json
- {
- "deleted": ["mon_79ce3cf9c4fa56e98af4"],
- "notFound": ["mon_4b1d0a7e2c9f83d56e10"],
- "usage": { "used": 19, "dailyLimit": 100, "tier": "free" }
- }
Errors
| Status | When |
|---|---|
400 | No ids parameter. |
401 | The API key is missing or invalid. |
403 | The key's owner doesn't have permission to manage uptime monitors, or the key isn't linked to a workspace. |
405 | The endpoint doesn't accept that method. |
429 | A rate limit or your daily quota was hit. Read Retry-After, in seconds. Writes are also limited to 30 a minute per key. |
500 | Something went wrong on our side. Try again. |
503 | The API is temporarily unavailable. Try again shortly. |
Errors are JSON: { "error": "message" }. See Monitoring API errors.
Related
- Delete a monitor: one at a time
- Bulk update: pause instead of deleting