Last updated 1 month ago
Was this helpful?
Restricts a specific status with a IP access control list (ACL).
"****-*****-****-****"
"****-*****-****-*****"
true
Successful operation
const response = await fetch('https://cloud.medianova.com/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "resource_uuid": "****-*****-****-*****", "status_ip_restriction_acl": true, "ip_restriction_acl": { "type": "blacklist", "whitelist": [], "blacklist": [ "1.1.1.1", "4.4.4.0/24" ] } }), }); const data = await response.json();
{ "status": true, "data": {} }