Disables a specified accelerated domain. After the accelerated domain is disabled, the value of the DomainStatus parameter is changed to Offline.

Before you call this operation, pay attention to the following considerations:

If you disable an accelerated domain, the configurations of the accelerated domain are still retained. The system automatically forwards all the requests that are destined for this domain to the origin.

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 StopDcdnIpaDomain

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

DomainName String Yes example.com

The name of the accelerated domain that you want to disable. You can specify only one domain name at a time.

Response parameters

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

The ID of the request.

Examples

Sample requests

http://dcdn.aliyuncs.com/?Action=StopDcdnIpaDomain
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

<StopDcdnIpaDomainResponse>
	  <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>
</StopDcdnIpaDomainResponse>

JSON format

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

Error codes

HttpCode Error code Error message Description
403 DcdnIpaServiceNotFound The DCDN IPA service has not been activated. The error message returned because the IP Application Accelerator (IPA) service is not activated.

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