Enables one or more domain names at a time. After a domain name is enabled, the value of the DomainStatus parameter is changed to Online.
- If the domain name is in an invalid state or your have an overdue payment in your account, the domain name cannot be enabled.
- The maximum number of times that each user can call this operation per second is 30.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | BatchStartCdnDomain |
The operation that you want to perform. Set the value to BatchStartCdnDomain. |
DomainNames | String | Yes | example.com |
The domain names that you want to enable. Separate multiple domain names with commas (,). |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 0AEDAF20-4DDF-4165-8750-47FF9C1929C9 |
The ID of the request. |
Examples
Sample requests
http://cdn.aliyuncs.com/?Action=BatchStartCdnDomain
&DomainNames=example.com
&<Common request parameters>
Sample success responses
XML
format
<BatchStartCdnDomainResponse>
<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>
</BatchStartCdnDomainResponse>
JSON
format
{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9"
}
Error codes
For a list of error codes, visit the API Error Center.