Skip to content

Revoke a certificate

POST
/certs/tls/{id}/revoke
curl --request POST \
--url https://api.krakenkey.io/certs/tls/example/revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "reason": 0 }'
id
required
string

Certificate ID

Media typeapplication/json
object
reason

RFC 5280 revocation reason code: 0=unspecified, 1=keyCompromise, 3=affiliationChanged, 4=superseded, 5=cessationOfOperation

number
<= 10
Example
0

Certificate revocation initiated

Certificate not in issued state

Viewers cannot revoke certificates

Certificate not found