Hanzo
OpenapiFramework

Removes one document, after its on_trash hooks agree.

Removes one document, after its on_trash hooks agree.

DELETE /v1/framework/{doctype}/{name}

Addresshttps://api.hanzo.ai/v1/framework/{doctype}/{name}
MethodDELETE
Operationdelete_framework_by_doctype_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one document, after its on_trash hooks agree. A SUBMITTED document cannot be deleted — cancel it first. Answers 204.

Request

2 fields.

FieldInTypeRequiredDescription
doctypepathstringyesDocType is the document's DocType, from the path.
namepathstringyesName is the document's name — its key within the DocType — from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo framework doctype rm <doctype> <name>

Framework API · All Hanzo APIs · Interactive reference

How is this guide?

On this page