POST /pki/client_certificates/revoke/

Revoke Enterprise PKI client certificates by serial number or common name. Provide exactly one of serial or cn. Revoking by cn revokes all matching non-revoked PKI certificates. Optional revocation_reason is an integer 0–8 matching the Enterprise PKI console and RFC 5280 ReasonFlags: 0 Unused, 1 Key compromise, 2 CA compromise, 3 Affiliation changed, 4 Superseded, 5 Cessation of Operation, 6 Certificate Hold, 7 Privilege Withdrawn, 8 AA compromise. Enterprise PKI must be enabled. The API key must be writable.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Hex serial of a specific certificate. Provide exactly one of serial or cn.

string

Common Name. Revokes all matching non-revoked PKI certificates. Provide exactly one of serial or cn.

integer
0 to 8

Optional RFC 5280 ReasonFlags value from 0 to 8.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json