Web Assets

Update existing folder

Update an existing folder's configuration details and optionally rename it

put/api/v1/assets/folders

Request

  • Base URL
    https://jostens.com
  • Auth
    none declared

Request body

assetPathstring required

Full path where the folder should be created or updated including site and folder structure. Must end with '/'

Example request

{
  "assetPath": "//demo.dotcms.com/my-new-folder/",
  "data": {
    "title": "My Documents Folder",
    "sortOrder": 100,
    "showOnMenu": true,
    "fileMasks": [
      "*.jpg",
      "*.png",
      "*.pdf"
    ],
    "defaultAssetType": "FileAsset",
    "name": "my-renamed-folder"
  }
}

Response

Folder updated successfully

entityobject
i18nMessagesMapobject
permissionsstring[]

Changes

Changes to this operation have not been checked yet.