POST
/
api
/
v1
/
pki
/
certificates
/
{serialNumber}
/
revoke
curl --request POST \
  --url https://us.infisical.com/api/v1/pki/certificates/{serialNumber}/revoke \
  --header 'Content-Type: application/json' \
  --data '{
  "revocationReason": "UNSPECIFIED"
}'
{
  "message": "<string>",
  "serialNumber": "<string>",
  "revokedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

serialNumber
string
required

The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA.

Body

application/json

Response

200
application/json
Default Response

The response is of type object.