Overview
Update an existing monitor group. You can modify the group name, description, and move it within the hierarchy by changing its parent. The API prevents circular references automatically.Authentication
Requires API Key authentication via theX-API-Key header.
Request
Path Parameters
| Parameter | Type | Description |
|---|---|---|
groupId | UUID | The ID of the group to update |
Request Body
All fields are optional. Omit fields you don’t want to modify.| Field | Type | Description |
|---|---|---|
name | string | New group name (1-100 characters) |
description | string | New group description (max 500 characters) |
parent_group_id | UUID | New parent group ID (null to move to root) |
Response
Returns the updated group object.Response Fields
| Field | Type | Description |
|---|---|---|
id | UUID | Unique identifier |
name | string | Updated group name |
description | string | Updated description |
parent_group_id | UUID | null | Parent group ID |
check_count | number | Number of monitors |
created_at | timestamp | Creation timestamp (unchanged) |
Status Codes
| Status | Description |
|---|---|
200 | Group updated successfully |
400 | Validation error (invalid data or circular reference) |
401 | Unauthorized (missing or invalid token) |
403 | Forbidden (no permission to update group) |
404 | Group not found |