Domain name for API request: ecdn.tencentcloudapi.com.
This API is used to enable an acceleration domain name. The domain name to be enabled must be in deactivated status.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: StartEcdnDomain. |
Version | Yes | String | Common parameter. The value used for this API: 2019-10-12. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Domain | Yes | String | Domain name to be enabled. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://ecdn.tencentcloudapi.com/?Action=StartEcdnDomain
&Domain=www.test.com
&<Common request parameters>
{
"Response": {
"RequestId": "13d41d37-546f-42ed-a3b9-ff82a51ecd0a"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation.EcdnConfigError | Failed to update the domain name configuration. Please try again or contact customer service for assistance. |
InternalError.EcdnSystemError | System error. Please submit a ticket for troubleshooting. |
InvalidParameter.EcdnInterfaceError | Internal API error. Please submit a ticket for troubleshooting. |
InvalidParameter.EcdnParamError | Parameter error. Please see the sample parameters in the documentation. |
ResourceInUse.EcdnOpInProgress | The ECDN resource is being manipulated. |
ResourceNotFound.EcdnDomainNotExists | This domain name does not exist under the account. Please check and try again. |
ResourceNotFound.EcdnUserNotExists | The ECDN service has not been activated. Please activate it first before using this API. |
UnauthorizedOperation.EcdnCamUnauthorized | No CAM policy is configured for the sub-account. |
UnauthorizedOperation.EcdnUserIsSuspended | The acceleration service has been suspended. Please restart it and try again. |
Was this page helpful?