Trust Certificate
Add to list of currently trusted certificates
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/ssl/trustedCertificates
COPY
Request Body
TrustedCertificate
of type(s)
application/json
Optional
Show optional properties
{
"alias": "string",
"certificate": "-----BEGIN CERTIFICATE----- <sample certificate contents> -----END CERTIFICATE-----"
}
{
"id": "string",
"alias": "string",
"certificate": "-----BEGIN CERTIFICATE----- <sample certificate contents> -----END CERTIFICATE-----"
}
Responses
201
Created
Returns
TrustedCertificate
of type(s)
application/json;version=40.0
"TrustedCertificate Object"
string
id
Optional
Constraints:
maxLength: 128
id
string
alias
Required
Constraints:
maxLength: 255
Name, case insensitive
string
certificate
Required
PEM encoded certificate. All extraneous whitespace and other information is removed.
Vendor Extension
This operation contains the following vendor extensions defined in the spec:
[object Object],[object Object]
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"alias:"string","certificate:"string"}' https://{api_host}/cloudapi/1.0.0/ssl/trustedCertificates
Availability
Added in 34.0
On This Page
Trusted Certificates Operations
GET
Query Trusted Certificates
POST
Trust Certificate
GET
Get Certificate
PUT
Update Certificate
DELETE
Delete Certificate