name
. Returns the list of affected pools. Supports the standard pagination query parameters, either limit
/offset
or per_page
/page
.""
is accepted.{
"notification_email": ""
}
curl --location --request PATCH 'https://api.cloudflare.com/client/v4/user/load_balancers/pools' \
--header 'Content-Type: application/json' \
--data-raw '{
"notification_email": ""
}'
{
"errors": [],
"messages": [],
"result": [
{
"check_regions": [
"WEU",
"ENAM"
],
"created_on": "2014-01-01T05:20:00.12345Z",
"description": "Primary data center - Provider XYZ",
"disabled_at": "2019-08-24T14:15:22Z",
"enabled": false,
"id": "17b5962d775c646f3f9725cbc7a53df4",
"latitude": 0,
"load_shedding": {
"default_percent": 0,
"default_policy": "random",
"session_percent": 0,
"session_policy": "hash"
},
"longitude": 0,
"minimum_origins": 1,
"modified_on": "2014-01-01T05:20:00.12345Z",
"monitor": null,
"name": "primary-dc-1",
"notification_email": "someone@example.com,sometwo@example.com",
"notification_filter": {
"origin": {
"disable": true
},
"pool": {
"healthy": false
}
},
"origin_steering": {
"policy": "random"
},
"origins": [
{
"address": "0.0.0.0",
"disabled_at": "2019-08-24T14:15:22Z",
"enabled": true,
"header": {
"Host": "www.example.com"
},
"name": "app-server-1",
"weight": 0.6
}
]
}
],
"success": true,
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}