Update extra certificate

edit

Add or update an extra certificate.

Request

edit

PUT /api/v1/platform/configuration/security/extra_certs/{cert_id}

Path parameters

edit
Name Type Required Description

cert_id

string

Y

The extra certificate Id. For example, star_my_domain_com.

Request body

edit

(string) (required) Extra certificate bundle

Responses

edit
200

(EmptyResponse) Updates extra certificate under given id

400

(BasicFailedReply) Certificate uses unknown cryptographic algorithm. (code: cert.unknown_cert_algorithm)

Headers

x-cloud-error-codes (string; allowed values: [cert.unknown_cert_algorithm])
The error codes associated with the response

Request example

edit
curl -XPUT https://{{hostname}}/api/v1/platform/configuration/security/extra_certs/{cert_id} \
-H "Authorization: ApiKey $ECE_API_KEY" \
-H 'Content-Type: application/text'