Hanzo
OpenapiDataroom

Refuse answers a request by declining it, recording who declined and why.

Refuse answers a request by declining it, recording who declined and why. Nothing is released and no link is minted.

POST /v1/dataroom/trust/requests/{id}/refuse

Addresshttps://api.hanzo.ai/v1/dataroom/trust/requests/{id}/refuse
MethodPOST
Operationpost_dataroom_trust_requests_by_id_refuse
AuthAuthorization: Bearer $HANZO_API_KEY

Refuse answers a request by declining it, recording who declined and why.

Nothing is released and no link is minted. The refusal STAYS on the record beside the ask — a request that was turned down is part of the access record exactly as one that was granted is, and deleting it would leave a queue that only ever shows the decisions somebody liked.

A request that was already answered is refused rather than answered twice. Only an admin of the org may call it, and the request is resolved in that org's own store, so another org's request id is not found.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the request to answer, taken from the path.
daysbodyintegerDays is how long the grant stays open, from now.
idbodystringID is the request to answer, taken from the path.
notebodystringNote is why.

Response

StatusBodyMeaning
200trustRefusedok

200 body — 1 field.

FieldInTypeAlwaysDescription
statebodystringState is "refused".

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