ModifyDomainCache
1. API Description
2. Request Parameters
Parameter Name
Required
Type
Description
3. Output Parameters
Parameter Name
Type
Description
4. Code Example
POST / HTTP/1.1
Host: console.zenlayer.com/api/v2/cdn
Content-Type: application/json
X-ZC-Action: ModifyDomainCache
<Common Request Params>
Request:
{
"domainId": "domainIdxxxxx",
"cache": {
"cacheId": "cacheIdxxxxx",
"cacheType": "FILE",
"cacheTime": 7,
"timeUnit": "SECONDS",
"priority": 99,
"content": "txt|css|js",
"directory": ""
}
}
Response:
{
"requestId": "TEEFDCA5B-76FB-4E91-A18E-DF7F5D2CE41F",
}5. Error Codes
HTTP Status Code
Error Code
Description
Last updated