media/filescollection/{key}/items (DELETE)
To empty a files collection. This simply removes all the files from a files collection.
After deleting files you can of course upload new files to the collection. This method is mostly used in User Interfaces where a user can upload files, remove files, remove all files, set comments or page counts and so on.
URL
(DELETE) /api/media/filescollection/{key}/files
PARAMETERS
The URL parameters are:
key | The unique files collection ID | string, Mandatory |
RESULTS
The result is an empty JSON array (no more files in collection)