Removes a domain name for CDN from ApsaraVideo VOD.

Note
  • This operation is available only in the China (Shanghai) region.
  • After a domain name for CDN is removed from ApsaraVideo VOD, the domain name becomes unavailable. Proceed with caution. We recommend that you restore the A record at your DNS service provider before you remove the domain name for CDN.
  • After you call this operation to remove a domain name for CDN from ApsaraVideo VOD, all records that are related to the domain name are deleted. If you only want to disable a domain name for CDN, call the BatchStopVodDomain operation.

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 DeleteVodDomain

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

DomainName String Yes example.com

The domain name for CDN that you want to delete.

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=DeleteVodDomain
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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

Common errors

The following table describes the common errors that this operation can return.

Error code

Error message

HTTP status code

Description

InvaildParameter

The specific value of parameter DomainName is malformed.

400

The error message returned because the value of the DomainName parameter is invalid.