docs
api
Cloud Delivery(UCDN)
UpdateUcdnDomainHttpsConfigV2

UpdateUcdnDomainHttpsConfigV2 - UpdateUcdnDomainHttpsConfigV2

Overview

HTTPS acceleration configuration, domestic and overseas configuration together (compatible with full-site acceleration domain name)

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is UpdateUcdnDomainHttpsConfigV2.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
DomainIdstringResource Id corresponding to the domain nameYes
HttpsStatusCnstringTurn on or off acceleration enable or disable When the acceleration area includes domestic, this parameter must be passedNo
HttpsStatusAbroadstringEnable or disable acceleration
When the acceleration area includes overseas, this parameter must be passed
No
CertNamestringCertificate Name, must be provided to enable accelerationNo
CertIdintCertificate ID (could be UCDN's ID or USSL's ID)No
CertTypestringCertificate Type ucdn/usslNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns 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
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved