Delete a category
DELETE
https://api.tamio.com/v2/categories/{uuid}
Deletes a category and all its descendants (children, grandchildren, etc.). Associated product links and jobs are cleaned up automatically.
Deletion will fail if the category or any of its descendants are associated with a site. Remove site associations first before deleting.
Path Parameters
uuid
string*
UUID of the category to delete.
Responses
200
Category deleted successfully
Category deleted successfully
status
integer
id
string
UUID of the deleted category.
400
Validation or business logic error. Returned when:
Validation or business logic error. Returned when:
uuidis missing or not a valid UUID format
Error codes:
| Code | Description |
|---|---|
| 1002 | Category not found |
| 10299 | Category is associated with sites |
| 10353 | Category descendants are associated with sites |
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string