Skip to main content

Overview

Permanently deletes a group and any groups nested under it. Monitors in the group are not deleted: they are either moved to another group or left ungrouped. DELETE /api/groups/{groupId} If the group contains monitors you must pass force: true (leave them ungrouped) or reassign_to_group_id (move them).

Authentication

X-API-Key: YOUR_API_KEY (read_write scope) or Authorization: Bearer YOUR_JWT.

Path parameters

Request body

The body is optional. Send none to delete without options. If you send one, it must be valid JSON.

Examples

Delete an empty group:
Delete a group and move its monitors:

Response

200 OK

Errors