You can call this operation to enable one or more disabled accelerated domains. After an accelerated domain is enabled, the value of the DomainStatus parameter is changed to Online.

When you call this operation, note the following:

If an accelerated domain is in an invalid state or your account has an overdue payment, the accelerated domain cannot be enabled.

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 BatchStartDcdnDomain

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

DomainNames String Yes test.com

The name of the accelerated domain to enable. You can specify multiple accelerated domain names and separate them with commas (,).

Response parameters

Parameter Type Example Description
RequestId String 0AEDAF20-4DDF-4165-8750-47FF9C1929C9

The ID of the request.

Examples

Sample requests

http://dcdn.aliyuncs.com?Action=BatchStartDcdnDomain
&DomainNames=test.com
&<Common request parameters>

Sample success responses

XML format

<BatchStartDcdnDomainResponse>
<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>
</BatchStartDcdnDomainResponse>

JSON format

{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9"
}

Error codes

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