Jump to content

REST API Documentation

/downloads/categories/{id}


Delete a category

Parameters

Name Type Description
deleteChildrenOrMove int The ID number of the new parent or -1 to delete all child nodes.

Exceptions

Code Message Description
1S359/1 INVALID_ID The node ID does not exist
1S359/2 INVALID_TARGET The target node cannot be deleted because the new parent node does not exist
1S359/3 HAS_CHILDREN The target node cannot be deleted because it has children (pass deleteChildrenOrMove in the request to specify how to handle the children)

Response

This endpoint doesn't return a response.
×
×
  • Create New...