Hanzo AI

Delete docs

Removes a document with everything nested under it and every comment on any of them — the Team client's own delete, which takes the subtree with it.

DELETE /v1/team/docs/{id}

Addresshttps://api.hanzo.ai/v1/team/docs/{id}
MethodDELETE
Operationdelete_team_docs_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes a document with everything nested under it and every comment on any of them — the Team client's own delete, which takes the subtree with it. Its author, an owner of its teamspace or an admin of the space may delete it. Answers 204.

The document model has no archived state for a page (only a teamspace can be archived), so there is nothing softer to offer here than removal.

Request

2 fields.

FieldInTypeRequiredDescription
idpathstringyesID is the document, from the path.
spacequerystring—Space is the space uuid holding it.

Response

StatusBodyMeaning
204—no content
defaultproblem-detailsrefused

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.


Team API · All Hanzo APIs · Interactive reference

How is this guide?

On this page