Skip to content

/cas/{id}/revoke

POST
/cas/{id}/revoke
curl --request POST \
--url https://pki.example.com/api/v1/cas/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "reason": "unspecified", "details": "example" }'

Revoke a Certificate Authority. This will also revoke all certificates issued by this CA.

id
required
string format: uuid
Media typeapplication/json
object
reason
required
string
Allowed values: unspecified keyCompromise caCompromise affiliationChanged superseded cessationOfOperation certificateHold removeFromCRL
details
string
<= 500 characters

Default Response

Media typeapplication/json
object
success
boolean
caId
string format: uuid
revocationDate
string format: date-time
reason
string
cascadeRevokedCount
integer
crlGenerated
boolean
crlId
string format: uuid

Example generated

{
"success": true,
"caId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"revocationDate": "2026-04-15T12:00:00Z",
"reason": "example",
"cascadeRevokedCount": 1,
"crlGenerated": true,
"crlId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Default Response

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}
}

Default Response

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}
}

Default Response

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}
}