Enables log storage for one or more domain names.

Note
  • The maximum number of times that each user can call this operation per second is 100.
  • This operation supports only the POST method.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes EnableCdnDomainOfflineLogDelivery

The operation that you want to perform. Set the value to EnableCdnDomainOfflineLogDelivery.

DomainName String Yes example.com

The domain name for which you want to enable log storage. You can specify one or more domain names. Separate domain names with commas (,).

Response parameters

Parameter Type Example Description
RequestId String C370DAF1-C838-4288-A1A0-9A87633D248E

The ID of the request.

Examples

Sample requests

http(s)://cdn.aliyuncs.com/?Action=EnableCdnDomainOfflineLogDelivery
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

<EnableCdnDomainOfflineLogDeliveryResponse>
  <RequestId>C370DAF1-C838-4288-A1A0-9A87633D248E</RequestId>
</EnableCdnDomainOfflineLogDeliveryResponse>

JSON format

{
  "RequestId": "C370DAF1-C838-4288-A1A0-9A87633D248E"
}

Error codes

For a list of error codes, visit the API Error Center.