Update a private folder
The method and parameters
PATCH /api/v1/billing/tree/folders/private |
{
"id": null,
"external_id": "external_id_of_tree_element",
"key": "random_key",
"new_key": "new_random_key",
"log_extra": {
"some": "information"
}
}
int id REQUIRED – the ID of the tree element (is required when no external_id is specified).
string|int external_id REQUIRED – the key of the tree element (is required when no id is specified).
string key REQUIRED – the key for the folder.
string new_key – the new key for the folder.
string|array log_extra – additional information received from an external system.
201 |
A successful response
JSON
|
422 |
Returns a JSON object with an error. For details, see General information > Validation.
JSON
|