emfasemfas

Delete category tree

Deletes a category tree. The tree must be empty and unreferenced. Trees connected to an external source cannot be deleted via the API — disconnect the source first.

DELETE
/category-trees/{treeId}
Authorization<token>

API key authentication using Bearer token format. Use: Bearer

In: header

Path Parameters

treeIdstring

Category tree identifier

Response Body

curl -X DELETE "https://api.emfas.ai/v1/category-trees/string"
Empty
{
  "error": "Internal server error"
}
{
  "error": "Internal server error"
}
{
  "error": "Internal server error"
}
{
  "error": "Internal server error"
}