IP Restriction ACL
Restricts a specific status with a IP access control list (ACL).
Path parameters
organization_uuidstringRequiredExample:
****-*****-****-****
resource_uuidstringRequiredExample:
****-*****-****-*****
Body
resource_uuidstringRequiredExample:
****-*****-****-*****
status_ip_restriction_aclbooleanRequiredExample:
true
Responses
200
Successful operation
application/json
put
PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 168
{
"resource_uuid": "****-*****-****-*****",
"status_ip_restriction_acl": true,
"ip_restriction_acl": {
"type": "blacklist",
"whitelist": [],
"blacklist": [
"1.1.1.1",
"4.4.4.0/24"
]
}
}
200
Successful operation
{
"status": true,
"data": {}
}
Last updated
Was this helpful?