dbx.filesListFolder({path: '/app', recursive: true})
.then(response => {
let path = response.entries.map(entry => {
return {path: entry.path_lower};
})
dbx.filesDeleteBatch({entries: path})
.then(response => {
console.log(response);
})
})
Hi there, I am trying to delete several files/folders at once, however, when I use the 'filesDeleteBatch' method it does not delete anything. Its response in the '.then()' looks like this:
{ '.tag': 'async_job_id', async_job_id: '...idNumber...' }
How can i solve this problem?
Thank you