PHP Client for Cloudflare API
Load Balancers

Monitor Groups

Monitor Groups endpoint reference.

List

List configured load balancer monitor groups for an account.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount Identifier.
php
$response = $client->loadBalancers()->monitorGroups()->list('ACCOUNT_ID');
View this operation on the Cloudflare API Reference

Create

Create a new load balancer monitor group for an account.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount Identifier.
valuesarrayYesValues to set on the monitor group, e.g. `description`, `members`.
php
$response = $client->loadBalancers()->monitorGroups()->create('ACCOUNT_ID', []);
View this operation on the Cloudflare API Reference

Get

Get a single configured load balancer monitor group for an account.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount Identifier.
monitorGroupIdstringYesMonitor Group Identifier.
php
$response = $client->loadBalancers()->monitorGroups()->get('ACCOUNT_ID', 'MONITOR_GROUP_ID');
View this operation on the Cloudflare API Reference

Edit

Apply changes to an existing monitor group, overwriting only the supplied properties.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount Identifier.
monitorGroupIdstringYesMonitor Group Identifier.
valuesarrayYesValues to patch on the monitor group.
php
$response = $client->loadBalancers()->monitorGroups()->edit('ACCOUNT_ID', 'MONITOR_GROUP_ID', []);
View this operation on the Cloudflare API Reference

Update

Update an existing load balancer monitor group for an account, overwriting the full configuration.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount Identifier.
monitorGroupIdstringYesMonitor Group Identifier.
valuesarrayYesValues to set on the monitor group, e.g. `description`, `members`.
php
$response = $client->loadBalancers()->monitorGroups()->update('ACCOUNT_ID', 'MONITOR_GROUP_ID', []);
View this operation on the Cloudflare API Reference

Delete

Delete a load balancer monitor group for an account.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount Identifier.
monitorGroupIdstringYesMonitor Group Identifier.
php
$response = $client->loadBalancers()->monitorGroups()->delete('ACCOUNT_ID', 'MONITOR_GROUP_ID');
View this operation on the Cloudflare API Reference

References

List the pools that reference a given monitor group.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount Identifier.
monitorGroupIdstringYesMonitor Group Identifier.
php
$response = $client->loadBalancers()->monitorGroups()->references('ACCOUNT_ID', 'MONITOR_GROUP_ID');
View this operation on the Cloudflare API Reference
Copyright © 2026