Creating a private folder
Private folders can only be created for the camera tree.
They are needed to restrict access to cameras within a single element of the tree.
Folders can only be created in the leaf element of the tree.
The key for a folder must be unique within a single tree leaf.
POST/api/v1/billing/tree/folders/privateHeaders | |||||||||
Accept | application/json |
Body | |||||||||
json |
JSON
| ||||||||
keyrequired | string | The key for the folder, which can be sent instead of id when creating a camera, if you need to add a camera to a folder | |||||||
external_idrequired | string|int | The key for the tree element in which to create the folder | |||||||
idrequired | int | ID of the tree element in which to create the folder |
Response | |||||||||
201 | Successful response | ||||||||
JSON
| |||||||||
422 | Returns a JSON object with an error. Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|