Hanzo
OpenapiDataroom

Amend changes an item on the caller org's trust centre — replace its file with…

Amend changes an item on the caller org's trust centre — replace its file with a newer edition, move it between public and gated, rewrite what it says, or…

PATCH /v1/dataroom/trust/artifacts/{id}

Addresshttps://api.hanzo.ai/v1/dataroom/trust/artifacts/{id}
MethodPATCH
Operationpatch_dataroom_trust_artifacts_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Amend changes an item on the caller org's trust centre — replace its file with a newer edition, move it between public and gated, rewrite what it says, or retire it — and answers with the item as it now stands.

Retiring is the withdrawal: the item leaves the public centre immediately and can no longer be granted, while grants already made over it stand, because a release that happened is part of the record and un-happening it in the record would be a lie. Restoring is the same call with retired false.

Moving an item an independent auditor signed to the public tier is refused, and refused by the database rather than only here. Only an admin of the org may call it, and the item is resolved in that org's own store, so another org's id is not found.

Request

9 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the item to change, taken from the path.
bodybodystringBody replaces the item's content.
documentbodystringDocument replaces the file the item points at — this is how a report is superseded by its next edition.
frameworkbodystringFramework replaces the standard it speaks to.
idbodystringID is the item to change, taken from the path.
namebodystringName replaces its title.
retiredbodybooleanRetired withdraws the item, or true→false restores it.
summarybodystringSummary replaces the line about it.
tierbodystringTier moves it between public and gated.

Response

StatusBodyMeaning
200trustItemViewok

200 body — 12 fields.

FieldInTypeAlwaysDescription
attesterbodystringAttester is who vouched for it: self or auditor.
bodybodystringBody is the item's content for the kinds that are text rather than a file.
createdAtbodyintegerCreatedAt is when it was published, in unix milliseconds.
documentbodystringDocument is the data-room document holding its bytes, empty when it has none.
frameworkbodystringFramework is the standard it speaks to, when it speaks to one.
idbodystringID addresses the item.
kindbodystringKind is what it is.
namebodystringName is its title.
retiredbodybooleanRetired is whether it has been withdrawn. A retired item is absent from the public centre and cannot be granted; it is kept because a grant already made over…
summarybodystringSummary is a line about it.
tierbodystringTier is public or gated.
updatedAtbodyintegerUpdatedAt is when it last changed, in unix milliseconds.

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.


Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page