Trust Certificate
Add to list of currently trusted certificates
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=9.1.0
{
"id": "string",
"alias": "string",
"certificate": "-----BEGIN CERTIFICATE----- <sample certificate contents> -----END CERTIFICATE-----"
}
Vendor Extension
This operation contains the following vendor extensions defined in the spec:
[{"type":"Classic"},{"type":"Modern"}]
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