Update Certificate

Update Certificate
Updates an existing trusted 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-----"
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

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 PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"alias":"string","certificate":"string"}' https://{api_host}/cloudapi/1.0.0/ssl/trustedCertificates/{trustedCertificate}