Skip to main content
Version: Next

deleteMediaFolder

DELETE 

/media-folders/:folderId

Deletes a MediaFolder. The behaviour depends on the id that is passed, following the API Draft mode convention:

  • the id of a draft: the clone is discarded and the original folder goes back to ProcessingStatus.Released (it is the "cancel draft" action);
  • the id of a published folder: the folder is deleted, cascading on its groups, perimeters, category associations and links to the files. The DigitalContents left orphan are soft-deleted.

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

Permission (one of)
deleteMediaFolder

Request​

Responses​

The MediaFolder has been successfully deleted.