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
- 204
- 400
The MediaFolderCategory has been successfully deleted.
Bad request. It is returned, among the other cases, when the category still has associated folders.