cURL
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" }
Revoke
The serial number of the certificate to revoke. The revoked certificate will be added to the certificate revocation list (CRL) of the CA.
Default Response
The response is of type object.
object
Was this page helpful?