Skip to main content
PATCH
/
groups
/
{group_id}
/
monitors
Bulk update monitors in group
curl --request PATCH \
  --url https://api.dnsradar.dev/groups/{group_id}/monitors \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "active": true,
  "notify": "immediately",
  "exact_match": true,
  "expected_value": "<string>"
}
'
{
  "code": 400,
  "errors": {
    "email": "Invalid email format"
  }
}
This endpoint allows you to bulk update settings for all monitors within a specified group in a single request.
You can update the active status, notification timing, match type, and expected values for all monitors in the group.
Only the fields you provide will be updated; omitted fields remain unchanged.

Authorizations

X-Api-Key
string
header
required

API key used to authenticate yourself on DNSRadar. Obtain your API key from your DNSRadar dashboard.

Path Parameters

group_id
string
required

The unique identifier of the group

Body

application/json
active
boolean

Set monitors as active or inactive

notify
enum<string>

Notification timing for monitors

Available options:
immediately,
on_success,
after_success
exact_match
boolean

Require exact match for expected values

expected_value

Expected DNS values to match against. Applies to all monitors in the group regardless of record type.

Response

Monitors updated