Delete Client CA
Remove a client CA from your library. Subject to a hard "in-use" check: if any endpoint currently has this CA in its mTLS trust list, the request returns 409 Conflict with the count of dependent endpoints. Detach from those endpoints first via PUT /v1/endpoints/{uuid}/mtls, then retry the delete.
Once deleted: clients with leaf certs that chained to this CA are immediately rejected at the TLS handshake on any endpoint that previously trusted it. The CA's PEM bytes are removed from the database.
Deleting a CA managed by ngris also revokes every certificate it issued (reason The certificate authority was deleted.) and deletes its private key, so it can never issue again. This can't be undone.
Path parameters
uuid from /client-cas.Deprecated: the legacy integer id is still accepted in the path until the sunset, answered with Deprecation and Sunset headers. Use the uuid.
Response (204 No Content)
Empty body on success.
Errors
integer_id_unsupported). A path segment that is neither a uuid nor an integer matches no route (404).cert:delete permission."Cannot delete: still referenced by N endpoint(s). Detach first." Use PUT /v1/endpoints/{uuid}/mtls to detach.