Groups
Edit Group
Request
PATCH /groups/uuid
Parameters
Name | Type | Description |
---|
uuid | string | Required -- Group uuid |
name | string | Group name |
title | string | Title of Group for Status Page (Optional) |
description | string | Description of Group |
color | string | Color of Group Label |
monitors | string[] | Monitors uuid list |
Request Payload Example
{
"name": "Group Name",
"title": "Group Title",
"description": "Description",
"color": "turquoise",
"monitors": ["9454e78d-29a2-42eb-90eb-963e9c1f349f", "2c593af2-ff1f-4a55-a33f-9ce8dd297990"]
}
Request Curl Example
curl -X PATCH \
-H "Content-Type: application/json" \
-H "Authorization: Bearer d3d6763224e8f54ee5aeb08202b7eb101d97081876819cb48833d9f892185917" \
-d \
'{
"name":"Group Name",
"Title":"Group Title",
"description":"Description",
"color":"turquoise",
"monitors":["9454e78d-29a2-42eb-90eb-963e9c1f349f", "2c593af2-ff1f-4a55-a33f-9ce8dd297990"]
}' \
"https://api.statsignal.dev/v1/groups/35c1f181-508f-4f79-8120-dbbc9b671d73"
Response Example
Status: 200 updated
{
"groups": {
"uuid": "bf959d9f-8175-4263-b66f-c2872bbc791a",
"name": "Group Name",
"title": "Group Title",
"description": "Description",
"color": "turquoise",
"monitors": ["9454e78d-29a2-42eb-90eb-963e9c1f349f", "2c593af2-ff1f-4a55-a33f-9ce8dd297990"],
"createdAt": "2021-10-26T17:18:39.02089Z",
"updatedAt": "2021-10-26T17:20:07.650351Z"
}
}