Certificate Management Interface¶
POST Create Domain Certificate Configuration¶
POST /prod-api/cdn/layer7/ssl/updateDomainCertInfo
Body Request Parameters
Request Parameters¶
Name | Location | Type | Required | Chinese Name | Description |
---|---|---|---|---|---|
Authorization | header | string | No | none | |
body | body | L7UpdateDomainSSLVO | No | L7UpdateDomainSSLVO | none |
Example Responses
200 Response
201 Response
Responses¶
Status Code | Status Meaning | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
201 | Created | none | Inline |
401 | Unauthorized | none | Inline |
403 | Forbidden | none | Inline |
404 | Not Found | none | Inline |
Response Data Structure¶
Status Code 200
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
» msg | string | true | none | none | |
» code | integer | true | none | none |
Data Model¶
L7UpdateDomainSSLVO
L7UpdateDomainSSLVO
Properties¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
certId | integer(int64) | false | none | Certificate ID | Required when Certificate Source is managed certificate |
domainId | integer(int64) | true | none | Domain ID | none |
protocol | integer(int32) | true | none | Origin Protocol | 0:HTTP,1:HTTPS |
source | integer(int32) | true | none | Certificate Source | 0:Self-owned certificate,1:Managed certificate |
sslCert | string | false | none | Certificate Content | Required when Certificate Source is self-owned certificate |
sslKey | string | false | none | Private Key Content | Required when Certificate Source is self-owned certificate |