Who can use this: Any signed-in accountAs Markdown
Through the API this is immediate and permanent; there is no Trash option here, so to keep things recoverable delete them one at a time with soft=1. Folders go first, with everything inside them, so a listed file that was in one of them comes back under not_found. Every id is reported, and one problem doesn't stop the rest.
Parameters
Name
Where
What it is
file_ids
body
Ids of files to delete.e.g. [41,42]
folder_ids
body
Ids of folders to delete, with everything inside them.e.g. [7]
Good to know
An id that isn't yours counts as not found, the same as one that doesn't exist.