Delete a tree element
|
DELETE /api/v1/billing/tree |
A tree element can be deleted only if it has no child elements and contains no leaf objects.
A tree element can be deleted by id or external_id.
JSON
{
"id": 16,
"external_id": "current_value",
"type": "cameras",
"log_extra": {
"some": "information"
}
}
Method parameters
int id, ID of the tree element to delete
string|int external_id, Tree element key
string type, Tree type, always `cameras`. The legacy value `intercoms` is accepted for backward compatibility
string|array log_extra, Additional information received from an external system
|
204 |
|
Successful response |