Certificates
Create a new Certificate
Changed onCreate a new Certificate
post/v2/control-planes/{controlPlaneId}/core-entities/certificates
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/certificates
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"key": "-----BEGIN PRIVATE KEY-----\nprivate-key-content\n-----END PRIVATE KEY-----"
}Response
Successfully created Certificate
Example response
{
"cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"key": "-----BEGIN PRIVATE KEY-----\nprivate-key-content\n-----END PRIVATE KEY-----"
}Changes
- breaking
removed
subschema #1subschema #2from therequest propertyanyOflist - info
added
subschema #1: CertificateWithVaultsubschema #2: CertificateWithCertAndKeyto therequest propertyanyOflist
- breaking
- breaking
the request property
/became not nullable
- breaking