Enables multiple disabled accelerated domains. After the specified accelerated domains are enabled, the value of the DomainStatus parameter changes to Online for the accelerated domains.

Before you call this operation, pay attention to the following notes:

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 names of the accelerated domains to be enabled. If you need to specify multiple accelerated domain names, 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

HttpCode Error code Error message Description
400 RecordCheckNotAvailable The ICP filing interface is unavailable. Please try again later. The error message returned because the interface for Internet content provider (ICP) filing is unavailable. Try again later.
400 IcpBlack The domain is on the ICP blacklist. The error message returned because the domain name is included in the ICP filing blacklist that is provided by the Ministry of Industry and Information Technology of the People's Republic of China.
400 IspBlack The domain is on the ISP blacklist. The error message returned because the domain name is included in the blacklist that is provided by Alibaba Cloud.

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