API reference
POSTRequires Bearer token
Revoke a certificate
/api/v1/companies/{company}/certificates/{certificate}/revoke
Company-admin. Optional RFC 5280 reason.
Path parameters
| Field | Type | Description |
|---|---|---|
company Required | string | Path parameter company. |
certificate Required | string | Path parameter certificate. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
reason | string | RFC 5280 reason: UNSPECIFIED, KEYCOMPROMISE, CACOMPROMISE, AFFILIATIONCHANGED, SUPERSEDED, CESSATIONOFOPERATION, CERTIFICATEHOLD, REMOVEFROMCRL, PRIVILEGEWITHDRAWN, AACOMPROMISE.e.g. "UNSPECIFIED" |
Responses
| Status | Meaning |
|---|---|
| 200 | Certificate revoked |
| 401 | Missing or invalid Bearer token. |