Hanzo
OpenapiTaxonomy

Removes one product from the catalogue.

Removes one product from the catalogue. An id no taxon holds is a 404.

DELETE /v1/taxonomy/taxa/{id}

Addresshttps://api.hanzo.ai/v1/taxonomy/taxa/{id}
MethodDELETE
Operationdelete_taxonomy_taxa_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one product from the catalogue. An id no taxon holds is a 404. To take a product out of view without losing what was written about it, set published to false instead.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the slug to act on, from the path.

Response

StatusBodyMeaning
200deletedok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodystringDeleted is the id that no longer exists.

Failure carries the platform error shape — see Errors.

Examples

hanzo taxonomy taxa rm <id>

Taxonomy API · All Hanzo APIs · Interactive reference

How is this guide?

On this page