Skip to main content

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

CODE
(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)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.