Deleting a tree element
You can delete a tree element only if it has no child elements and no leaf objects in itself.
Tree element can be removed by id or external_id.
DELETE/api/v1/billing/treeHeaders | |||||||||
Accept | application/json |
Body | |||||||||
json |
JSON
| ||||||||
idrequired | int | The ID of the tree element to be removed | |||||||
external_idrequired | string|int | Key for tree element | |||||||
typerequired | string | The type of tree within which the deletion occurs |
Response | |||||||||
204 | Successful response |
Example | |||||||||
JSON
|