Skip to content

Revoke TLS certificate

POST /tls/certificate/{certificate_id}/revoke

Operation ID: RevokeCertificate

Revoke only the currently selected TLS certificate while keeping the order available for later reissue.

NameTypeRequiredDescription
certificate_idtlsCertificateIdyes-

tlsCertificateRevokeRequest

FieldTypeRequiredDescription
commentstringnoOptional provider comment for the revocation request.
revocation_reasontlsCertificateRevocationReasonnoOptional revocation reason forwarded to the CA. Defaults to unspecified when omitted.
StatusTypeDescription
200tlsCertificateResponseTLS certificate revocation accepted
400ErrorInvalid request or revocation reason
401ErrorUnauthorized
404ErrorTLS certificate not found
409ErrorThe TLS certificate cannot be revoked in its current state
500ErrorUnexpected error
502ErrorUpstream TLS provider error
FieldTypeRequiredDescription
successbooleanyesSuccess indicator
codeintegernoResponse/Error Code
responsetlsCertificateResponseno-
Terminal window
curl -X POST "https://api.regfish.com/tls/certificate/<certificate_id>/revoke" \
-H "x-api-key: $REGFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"comment": "string",
"revocation_reason": "cessationOfOperation"
}'

Fill in values - the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.