You can call this operation to modify the acceleration region of an accelerated domain.

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 ModifyDCdnDomainSchdmByProperty

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

DomainName String Yes example.com

The name of the accelerated domain for which you want to modify the acceleration region.

Property String Yes domestic

The region where your acceleration service is deployed. Valid values:

  • domestic: mainland China
  • overseas: outside mainland China
  • global: all countries in the world

Response parameters

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

The ID of the request.

Examples

Sample requests

http://dcdn.aliyuncs.comAction=ModifyDCdnDomainSchdmByProperty
&DomainName=example.com
&property={"coverage":"overseas"}
& <Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

HTTP status code Error code Error message Description
400 Schedule.NotFound This domain does not have any available CDN resources in the accelerated area. The error message returned because the specified acceleration region does not have any available node resources for this domain.
400 DomainTraffic.ExceedThreshold You are not allowed to perform this operation because the traffic peak of the last day exceeds the threshold. The error message returned because the peak traffic of the previous day of the specified domain exceeds the upper limit. You are not allowed to call this operation in such a condition.
400 Domain.BeianInvalid You are not allowed to perform this operation because the ICP license of your domain is invalid in Chinese Mainland. The error message returned because the Internet content provider filing of the specified domain in mainland China is invalid.
400 Schedule.ChangeFail Failed to change the accelerated area for the domain. The error message returned because the system has failed to change the acceleration region for the specified domain.

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