Skip to content

Revoke a certificate the integration issued (idempotent)

Docs for PKI Manager 3.17.0 (released 2026-11-24), from main 4d59c30 (30 commits after the release).

POST
/external/revoke
curl --request POST \
--url https://pki.example.com/api/v1/external/revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "serialNumber": "example", "reason": "example" }'
Media typeapplication/json
object
serialNumber
required

Serial number of the certificate to revoke

string
/^[a-fA-F0-9]{1,128}$/
reason

RFC 5280 revocation reason (default: unspecified)

string
key
additional properties
any

Example generated

{
"serialNumber": "example",
"reason": "example"
}

Default Response

Media typeapplication/json
object
id
string
serialNumber
string
status
string
Allowed values: revoked
revocationDate
string format: date-time
idempotent

Present and true when the certificate was already revoked.

boolean
key
additional properties
any

Example

{
"status": "revoked"
}

PKI Manager is a personal project of Oriol Rius, built for his own use. It is not a commercial product. About this project