StartCdnDomain

Last Updated: Apr 08, 2018

Description

Enable a disabled CDN domain, changing the DomainStatus to online.

Note: If the account corresponding to the domain name is in arrears or the domain name is illegal, you cannot call this interface to enable the CDN domain name in the normal way.

Request parameters

Parameters Type Required Example values Description
Action String Yes StartCdnDomain

The name of this interface. Value: StartCdnDomain

DomainName String Yes www.yourdomain.com

The domain name that requests access to CDN.

Return parameters

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.

Example

Return example

  1. http://cdn.aliyuncs.com?Action=StartCdnDomain&DomainName=test.com&<Public request parameter>

Normal return example

JSON format

  1. {
  2. "RequestId":"0AEDAF20-4DDF-4165-8750-47FF9C1929C9"
  3. }

Exception return example

JSON format

  1. {
  2. "Code":"InternalError",
  3. "HostId":"cdn.aliyuncs.com",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
  6. }

Error code

For more information, see Error code of this product.

Thank you! We've received your feedback.