User Agent ACL
This setting is available in small, large, dynamic(aksela) and streaming resource types.
Path parameters
organization_uuidstringRequiredExample:
****-*****-****-****
resource_uuidstringRequiredExample:
****-*****-****-*****
Body
status_user_agent_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: 207
{
"status_user_agent_acl": true,
"user_agent_acl": {
"type": "blacklist",
"whitelist": [],
"blacklist": [
{
"type": "contains",
"value": "range"
},
{
"type": "exact_match",
"value": "test"
},
{
"type": "contains",
"value": "da*dy"
}
]
}
}
200
Successful operation
{
"status": true,
"data": {}
}
Last updated
Was this helpful?