Hanzo
OpenapiDataroom

SetCenter opens, publishes or withdraws the caller org's trust centre and…

SetCenter opens, publishes or withdraws the caller org's trust centre and answers with the centre as it now stands.

PUT /v1/dataroom/trust

Addresshttps://api.hanzo.ai/v1/dataroom/trust
MethodPUT
Operationput_dataroom_trust
AuthAuthorization: Bearer $HANZO_API_KEY

SetCenter opens, publishes or withdraws the caller org's trust centre and answers with the centre as it now stands.

Publishing requires a name and an address, and the address must be free: another org already answering there is a conflict, never a takeover. Withdrawing closes the public door only — items, grants and the access record are untouched, so an org can go quiet and come back without losing anything.

Only an admin of the org may call it. The org is the caller's own, so there is no field naming one and no way to point this at another tenant.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystringName is the centre's display name.
ndabodystringNda is the text a party must accept before asking for a document. Optional; empty asks for no acceptance.
publishbodybooleanPublish makes the centre answer at its public address.
slugbodystringSlug is the public address to answer at — a lowercase label of letters, digits and hyphens.

Response

StatusBodyMeaning
200trustDeskok

200 body — 37 fields.

FieldInTypeAlwaysDescription
grantsbodytrustGrantView[]Grants is every grant that has been made, newest first.
grants[].emailbodystringEmail is the one address the link admits.
grants[].expiresAtbodyintegerExpiresAt is when the grant closes, in unix milliseconds.
grants[].itembodystringItem is the item granted, empty when the whole released tier was granted.
grants[].linkbodystringLink is the share link's id — the token the party opens.
grants[].livebodybooleanLive is whether the grant is still open at the time of reading.
itemsbodytrustItemView[]Items is everything the org holds, both tiers, retired included.
items[].attesterbodystringAttester is who vouched for it: self or auditor.
items[].bodybodystringBody is the item's content for the kinds that are text rather than a file.
items[].createdAtbodyintegerCreatedAt is when it was published, in unix milliseconds.
items[].documentbodystringDocument is the data-room document holding its bytes, empty when it has none.
items[].frameworkbodystringFramework is the standard it speaks to, when it speaks to one.
items[].idbodystringID addresses the item.
items[].kindbodystringKind is what it is.
items[].namebodystringName is its title.
items[].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…
items[].summarybodystringSummary is a line about it.
items[].tierbodystringTier is public or gated.
items[].updatedAtbodyintegerUpdatedAt is when it last changed, in unix milliseconds.
namebodystringName is the centre's display name.
ndabodystringNda is the text a party must accept before asking.
publishedbodybooleanPublished is whether the centre answers at its public address.
requestsbodytrustAskView[]Requests is every ask, newest first, open ones included.
requests[].createdAtbodyintegerCreatedAt is when the ask arrived, in unix milliseconds.
requests[].decidedAtbodyintegerDecidedAt is when it was answered, in unix milliseconds; 0 while open.
requests[].decidedBybodystringDecidedBy is who answered it.
requests[].emailbodystringEmail is the address that asked, as stated and UNVERIFIED — it names a party and proves nothing, which is why the grant is addressed to it rather than trusting…
requests[].expiresAtbodyintegerExpiresAt is when a granted ask closes, in unix milliseconds.
requests[].idbodystringID is the request's id.
requests[].itembodystringItem is the item asked for, empty when the whole released tier was asked for.
requests[].linkbodystringLink is the share link a granted ask became.
requests[].ndabodystringNda is the text this party accepted, verbatim as it stood when they accepted.
requests[].notebodystringNote is what the decider wrote when refusing.
requests[].partybodystringParty is the company the asker stated.
requests[].reasonbodystringReason is why they said they want it.
requests[].statebodystringState is open, granted or refused.
slugbodystringSlug is the public address, empty until the centre is published.

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