v2
latestOpenAPI 3.0.02026-07-261859071.2 MBCheck groups
Update a check group
Updates a check group.
put/v1/check-groups/{id}
Path parameters
idinteger required
Query parameters
autoAssignAlertsboolean
Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.
Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.
Headers
x-checkly-accountstring
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Request body
Example request
{
"name": "Check group",
"tags": [
"production"
],
"locations": [
"us-east-1",
"eu-central-1"
],
"apiCheckDefaults": {
"url": "https://api.example.com/v1",
"headers": [
{
"key": "Cache-Control",
"value": "no-store"
}
],
"queryParameters": [
{
"key": "Page",
"value": "1"
}
],
"assertions": [
{
"source": "STATUS_CODE",
"comparison": "NOT_EMPTY",
"target": "200"
}
],
"basicAuth": {
"username": "admin",
"password": "abc12345"
}
},
"environmentVariables": [
{
"key": "API_KEY",
"value": "bAxD7biGCZL6K60Q"
}
],
"alertChannelSubscriptions": [],
"privateLocations": [
"data-center-eu"
]
}Response
Successful
Example response
{
"id": 1,
"name": "Check group",
"tags": [
"production"
],
"locations": [
"us-east-1",
"eu-central-1"
],
"apiCheckDefaults": {
"url": "https://api.example.com/v1",
"headers": [
{
"key": "Cache-Control",
"value": "no-store"
}
],
"queryParameters": [
{
"key": "Page",
"value": "1"
}
],
"assertions": [
{
"source": "STATUS_CODE",
"comparison": "NOT_EMPTY",
"target": "200"
}
],
"basicAuth": {
"username": "admin",
"password": "abc12345"
}
},
"environmentVariables": [
{
"key": "API_KEY"
}
],
"privateLocations": [
"data-center-eu"
]
}