Skip to content

CA Disable Authority REST API

Endi S. Dewata edited this page Mar 8, 2024 · 3 revisions

Request

  • Path: /ca/rest/authorities/{id}/disable

  • Method: POST

  • Authentication: required

Response

$ curl \
    -k \
    -s \
    -X POST \
    -H "Accept: application/json" \
    --cookie cookies \
    https://localhost.localdomain:8443/ca/rest/authorities/b6c33f78-74ce-4ce8-9368-132778770572/disable | python -m json.tool
{
    "isHostAuthority": true,
    "id": "b6c33f78-74ce-4ce8-9368-132778770572",
    "issuerDN": "CN=CA Signing Certificate,OU=pki-tomcat,O=EXAMPLE",
    "serial": 134654840884793334153232292428441128498,
    "dn": "CN=CA Signing Certificate,OU=pki-tomcat,O=EXAMPLE",
    "enabled": false,
    "description": "Host authority",
    "ready": true
}
Clone this wiki locally