Skip to main content
Version: Next

deleteMediaFolderContent

DELETE 

/media-folder-contents/:mediaFolderContentId

Deletes a MediaFolderContent together with its perimeters (only the ones still in draft) and the links to its files. All the groups of a draft folder can be deleted: the "at least one group" check only applies at publication time.

The number of files that the deletion removes is read beforehand from getMediaFolderContent → attributes.fileCount, to feed the confirmation dialog.

To access the service you need at least one of the following permissions:

Permission (one of)
deleteMediaFolderContent

Request​

Responses​

The MediaFolderContent has been successfully deleted.