/cas/{id}/revoke
POST
/cas/{id}/revoke
const url = 'https://pki.example.com/api/v1/cas/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revoke';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reason":"unspecified","details":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
string
details
string
Responses
Section titled “Responses”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" } ] }}