UpdateUcdnDomainHttpsConfigV2 - UpdateUcdnDomainHttpsConfigV2
Overview
HTTPS acceleration configuration, domestic and overseas configuration together (compatible with full-site acceleration domain name)
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is UpdateUcdnDomainHttpsConfigV2 . | Yes |
PublicKey | string | The user's public key can be obtained from Console (opens in a new tab) | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
DomainId | string | Resource Id corresponding to the domain name | Yes |
HttpsStatusCn | string | Turn on or off acceleration enable or disable When the acceleration area includes domestic, this parameter must be passed | No |
HttpsStatusAbroad | string | Enable or disable acceleration When the acceleration area includes overseas, this parameter must be passed | No |
CertName | string | Certificate Name, must be provided to enable acceleration | No |
CertId | int | Certificate ID (could be UCDN's ID or USSL's ID) | No |
CertType | string | Certificate Type ucdn/ussl | No |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
Example
Request Example
https://api.surfercloud.com/?Action=UpdateUcdnDomainHttpsConfigV2
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=iPYAffih
&Areacode=cn国内abroad国外
&DomainId=ImuXStLR
&HttpsStatus=enable开启 disable关闭
&CertName=GwQisyBE
&CertId=3
&CertType=bBGEZtGs
&IsDcdn=true
&HttpsStatusAbroad=FddMdKye
Response Example
{
"Action": "UpdateUcdnDomainHttpsConfigV2Response",
"RetCode": 0
}