Last updated 3 months ago
Was this helpful?
This setting is available for all resource types.
****-*****-****-****
****-*****-****-*****
true
****-****-*****-****
PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1 Host: cloud.medianova.com Content-Type: application/json Accept: */* Content-Length: 285 { "status_geo_blocking": true, "resource_uuid": "****-****-*****-****", "default_rule_geo_blocking_status": true, "geo_blocking_details": { "pull_from_origin_header": false, "type": "disallow", "whitelist_countries": [ "AR" ], "blacklist_countries": [ "" ], "whitelist_ip": [ "1.2.3.4" ], "blacklist_ip": [ "" ] } }
Successful operation
{ "status": true, "data": {} }