Update SNI Associated to a Specific Certificate

PATCH {{gateway}}/certificates/:certificateId/snis/:sniNameOrId

Update SNI Associated to a Specific Certificate konghq

AttributesMandatoryTypeDescription
certificate idrequiredpathThe unique identifier of the Certificate to update.
sni name or idrequiredpathThe unique identifier or the name of the SNI to update.

Request Body

AttributesMandatoryTypeDescription
namerequiredbodyThe SNI name to associate with the given certificate.
tagsoptionalbodyAn optional set of strings associated with the SNIs, for grouping and filtering.
certificaterequiredbodyThe id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. With form-encoded, the notation is certificate.id=. With JSON, use “"certificate":{"id":""}.

Request Body

{"name"=>"my-sni", "tags"=>["user-level", "low-priority"], "certificate"=>{"id"=>"a2e013e8-7623-4494-a347-6d29108ff68b"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring