Skip to content

Update a certificate

PATCH
/certs/tls/{id}
curl --request PATCH \
--url https://api.krakenkey.io/certs/tls/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "autoRenew": true, "managedBy": "connector" }'
id
required
string

Certificate ID

Media typeapplication/json
object
autoRenew

Enable or disable automatic renewal

boolean
managedBy

Who renews the certificate. ‘connector’: a customer-hosted connector renews it with its own keys and KrakenKey never renews it on its own (expiry alerts and ARI checks still run). null: KrakenKey renews it as usual.

string
nullable
Allowed values: connector

Certificate updated

Validation failed, for example managedBy not ‘connector’ or null

Viewers cannot update certificates

Certificate not found