Web Assets

Delete folder permanently

Permanently delete a folder and all its contents from the system using its path

post/api/v1/assets/folders/_delete

Request body

assetPathstring required

Full path to the folder to be deleted permanently (must end with /)

Example request

{
  "assetPath": "//demo.dotcms.com/old-projects/"
}

Response

Folder deleted successfully

entityboolean
i18nMessagesMapobject
permissionsstring[]

Changes

No recorded changes to this endpoint across all 1 revision of this API.