Disables one or more domain names for CDN.

Note
  • This operation is available only in the China (Shanghai) region.
  • After you disable a domain name for CDN, the information about the domain name is retained. The system automatically reroutes all the requests that are destined for the domain name for CDN to the origin server.

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 BatchStopVodDomain

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

DomainNames String Yes example.com

The domain name for CDN. Separate multiple domain names with commas (,).

Response parameters

Parameter Type Example Description
RequestId String 15C66C7B-671A-4297-****-2C4477247A74

The ID of the request.

Examples

Sample requests

https://vod.{ApiRegion}.aliyuncs.com/?Action=BatchStopVodDomain
&DomainNames=example.com
&<Common request parameters>

Sample success responses

XML format

<BatchStopVodDomainResponse>
      <RequestId>15C66C7B-671A-4297-****-2C4477247A74</RequestId>
</BatchStopVodDomainResponse>

JSON format

{
  "RequestId": "15C66C7B-671A-4297-****-2C4477247A74"
}

Error codes

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