{
"domain": "apitest1.rgslb.link",
"cache_conf": [
{
"path": "/img/*",
"type": 1,
"policy_id": "658327ea-f89d-4fab-a63d-7e88639e58f6"
}
]
}
curl --location --request PUT 'https://ctgcdn.esurfingcloud.com/API/cdn/domain/cache/conf' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "apitest1.rgslb.link",
"cache_conf": [
{
"path": "/img/*",
"type": 1,
"policy_id": "658327ea-f89d-4fab-a63d-7e88639e58f6"
}
]
}'
{
"code": 1,
"message": "OK",
"data": {
"id": "195",
"name": "apitest1.rgslb.link",
"username": "test",
"cache_type": 3,
"cache_conf": [
{
"priority": 1,
"type": 1,
"path": "/img/*",
"policy_id": "658327ea-f89d-4fab-a63d-7e88639e58f6",
"policy_name": ""
}
]
}
}