You can call the BatchStopCdnDomain operation to disable one or more CDN domains. The DomainStatus parameter of the disabled CDN domains is changed to Offline.

Note
  • After a CDN domain is disabled, CDN retains its information and reroutes queries to the origin.
  • To suspend the CDN service for a domain, we recommend that you call the StopDomain operation.

Request parameters

Parameter Type Required Description
Action String  Yes The operation that you want to perform. Set this parameter to BatchStopCdnDomain.
DomainNames String Yes The name of the CDN domain to be disabled. You can specify multiple domain names and separate them with commas (,).

Response parameters

Parameter Type Description
RequestID String The ID of the request.

Examples

Sample request

http://cdn.aliyuncs.com?Action=BatchStopCdnDomain&DomainNames=example.com&<Common request parameters>

Sample success response

JSON format

{
  "RequestId": "324AEFFF-308C-4DA7-8CD3-01B277B98F28"
}