Configures log storage for a specified domain name. 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 EnableDcdnDomainOfflineLogDelivery

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

DomainName String Yes example.com

The accelerated domain name for which you want to configure log storage.

Response parameters

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

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

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

JSON format

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

Error codes

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