Update Certificate
Updates an existing trusted certificate
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/ssl/trustedCertificates/{trustedCertificate}
COPY
Path Parameters
string
trustedCertificate
Required
trustedCertificate
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
200
OK
Returns
TrustedCertificate
of type(s)
application/json;version=39.1
"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.
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"alias:"string","certificate:"string"}' https://{api_host}/cloudapi/1.0.0/ssl/trustedCertificates/{trustedCertificate}
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