Delete an alert team Beta
DELETE /api/v1/alerting/teams/{id}
Delete a team. The members and contacts in it are kept; only the group goes.
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.
The team is also removed from every monitor that alerted it.
Request
Response
200 · application/json
- { "id": "tm_2c7e91a4b6d0f3e85a17", "deleted": true, "usage": { "used": 52, "dailyLimit": 100, "tier": "free" } }
Errors
| Status | When |
|---|---|
401 | The API key is missing or invalid. |
403 | The key's owner doesn't have permission to change alert contacts, or the key isn't linked to a workspace. |
404 | No team with that id in your workspace, including one already deleted. |
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, 503 | Something went wrong, or the API is temporarily unavailable. Try again. |
Errors are JSON: { "error": "message" }. See Monitoring API errors.
Related
- Delete several teams: in one call
- Update a team: keep it, with different members