Skip to content

Cancel or revoke TLS certificate order

POST /tls/certificate/{certificate_id}/order-cancel

Operation ID: CancelIssuedCertificateOrder

Cancel a not-yet-issued order before issuance, or revoke the complete issued order within the first 7 days after ordering. A full revocation invalidates all certificate versions on that order and prevents further reissue.

NameTypeRequiredDescription
certificate_idtlsCertificateIdyes-

tlsCertificateOrderCancelRequest

FieldTypeRequiredDescription
commentstringnoOptional provider comment for the full order cancellation request. If the request resolves to a pending-order cancellation, regfish sends a default provider note when this field is omitted.
revocation_reasontlsCertificateRevocationReasonnoOptional revocation reason. Defaults to unspecified.
StatusTypeDescription
200tlsCertificateResponseTLS certificate order cancellation accepted
400ErrorInvalid request or revocation reason
401ErrorUnauthorized
404ErrorTLS certificate not found
409ErrorThe TLS certificate order cannot be cancelled or 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>/order-cancel" \
-H "x-api-key: $REGFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"comment": "string",
"revocation_reason": "unspecified"
}'

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.