Hey Guys, in my application it’s possible to have thousands of shared folders. What’s the best approach to deleting individual folders with the REST API?
Note: The docs say to “PUT” the full config JSON object back (with removed folder object) but this seems like a really inefficient way to remove folders?
Hmm, I just tried a GET of “/rest/config/folders”, removed a folder from the JSON array and PUT the modified JSON back … but it appears that the folder was not removed !!!
Can you please explain, where the uncertainty is coming from.
It is technically thread safe, however if you have a lot of requests outstanding in parallel, the config changes aren’t necessarily applied in the order you sent off the request. Internally there is a queue, if you manage to have more than 1000 outstanding modifications, further modifications will result in an error.