Skip to main content
Version: Next

deleteMediaFolderCategory

DELETE 

/media-folder-categories/:categoryId

Deletes a MediaFolderCategory. The operation is allowed only when the category has no associated folders: the client checks attributes.mediaFolderCount beforehand, and the server answers 400 when the deletion is attempted anyway.

The icon of the category is not removed by this service: call deleteDigitalContent on attributes.iconDigitalContentId after a successful deletion.

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

Permission (one of)
deleteMediaFolderCategory

Request​

Responses​

The MediaFolderCategory has been successfully deleted.