Hanzo
OpenapiFramework

Removes a DocType and every document stored under it.

Removes a DocType and every document stored under it.

DELETE /v1/framework/doctypes/{name}

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

Removes a DocType and every document stored under it. The definition and its data go together — a document with no schema can be neither validated nor read back — so there is no undo. Manager-only. Answers 204.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the DocType's name, from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo framework doctypes rm <name>

Framework API · All Hanzo APIs · Interactive reference

How is this guide?

On this page