Create Or Update CA Certificate

PUT {{gateway}}/ca_certificates/:ca_certificateId

Create Or Update CA Certificate konghq

  • Inserts (or replaces) the CA Certificate under the requested resource with the definition specified in the body. The CA Certificate will be identified via the name or id attribute.
  • When the name or id attribute has the structure of a UUID, the CA Certificate being inserted/replaced will be identified by its id. Otherwise it will be identified by its name.
  • When creating a new CA Certificate without specifying id (neither in the URL nor in the body), then it will be auto-generated.
  • Notice that specifying a name in the URL and a different one in the request body is not allowed.

Path parameters

AttributesMandatoryTypeDescription
ca certificate idrequiredpathThe unique identifier of the CA Certificate to create or update.

Request Body

AttributesMandatoryTypeDescription
certrequiredbodyPEM-encoded public certificate of the CA.
tagsoptionalbodyAn optional set of strings associated with the Certificate, for grouping and filtering.

Request Body

{"cert"=>"-----BEGIN CERTIFICATE-----...", "tags"=>["user-level", "low-priority"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring