Hanzo
OpenapiTrust

Removes one record from a section of your organization's trust centre.

Removes one record from a section of your organization's trust centre. A record that is not there is a 404, never a silent success.

DELETE /v1/trust/{kind}/{id}

Addresshttps://api.hanzo.ai/v1/trust/{kind}/{id}
MethodDELETE
Operationdelete_trust_by_kind_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one record from a section of your organization's trust centre. A record that is not there is a 404, never a silent success. A control that belongs to the deployment's own inventory is removed by a commit, not by a request.

Request

2 fields.

FieldInTypeRequiredDescription
kindpathstringyesKind is the section — profile, control, document, subprocessor, policy, faq, update or risk. Anything else is not found.
idpathstringyesID is the record's id within that section.

Response

StatusBodyMeaning
200droppedok

200 body — 3 fields.

FieldInTypeAlwaysDescription
deletedbodybooleanDeleted is always true; a record that was not there is a 404 instead.
idbodystringID is the record removed.
kindbodystringKind is the section.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Trust API · All Hanzo APIs · Interactive reference

How is this guide?

On this page