Disables one or more accelerated domain names. After the specified accelerated domain names are disabled, the value of the DomainStatus parameter for the domain names changes to Offline.

Note
  • After an accelerated domain is disabled, Dynamic Route for CDN (DCDN) retains its information. The system automatically reroutes all the requests that are destined for the accelerated domain to the origin.
  • The maximum number of domain names configured at a time is 50.
  • The maximum number of times that each user can call this operation per second is 30.

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 BatchStopDcdnDomain

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

DomainNames String Yes example.com

The accelerated domain name. 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=BatchStopDcdnDomain
&DomainNames=example.com
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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