Skip to content

Revoke a certificate the integration issued (idempotent)

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"
}