文档

AddSSLCert - 添加网关域名关联证书

更新时间:

网关域名关联证书,证书可托管在云盾服务。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
DomainIdlong

域名 ID。

0
CertIdentifierstring

证书 ID。

5213641-cn-hangzhou
GatewayUniqueIdstring

网关唯一 ID。

gw-c70622ff52fe49beb29bea9a6f52****
AcceptLanguagestring

返回信息的语言类型:

  • zh:中文
  • en:英文
zh

返回参数

名称类型描述示例值
object

数据结构。

RequestIdstring

请求 ID。

E1CC74F0-5BDE-5220-A031-5CA622D80723
HttpStatusCodeinteger

HTTP 状态码

200
Messagestring

错误信息。

You are not authorized to perform this operation.
Codeinteger

返回结果码。

200
Successboolean

请求结果,取值如下:

  • true:请求成功。
  • false:请求失败。
true
Databoolean

返回数据结构,关联是否成功。

true

示例

正常返回示例

JSON格式

{
  "RequestId": "E1CC74F0-5BDE-5220-A031-5CA622D80723",
  "HttpStatusCode": 200,
  "Message": "You are not authorized to perform this operation.",
  "Code": 200,
  "Success": true,
  "Data": true
}

错误码

HTTP status code错误码错误信息描述
400IllegalRequestInvalid request:%s非法请求: %s
400InvalidParameterParameter error:%s请求参数错误:%s
403NoPermissionYou are not authorized to perform this operation:%s没有权限使用此接口:%s
404NotFoundNot found:%s资源不存在:%s
500InternalErrorConsole error. Try again later:%s控制台错误.稍后重试:%s

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈