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
Attributes | Mandatory | Type | Description |
---|
ca certificate id | required | path | The unique identifier of the CA Certificate to create or update. |
Request Body
Attributes | Mandatory | Type | Description |
---|
cert | required | body | PEM-encoded public certificate of the CA. |
tags | optional | body | An optional set of strings associated with the Certificate, for grouping and filtering. |
Request Body
{"cert"=>"-----BEGIN CERTIFICATE-----...", "tags"=>["user-level", "low-priority"]}
Key | Datatype | Required | Description |
---|
Content-Type | string | | |