DAM: Folders

Update a folder

patch/dam/folders/{folder_id}

Request

Path parameters

folder_idstring required

ID of folder to update

Request body

Example request

{
  "data": {
    "attributes": {
      "name": "{New Folder Name}",
      "description": "{New Folder Description}",
      "thumbs_scale_to_fit": true
    }
  }
}

Response

updated

type'folder' required
idstring required

Example response

{
  "type": "folder",
  "id": "1234",
  "attributes": {
    "name": "Folder name",
    "description": "Folder description",
    "created_at": "2099-12-31T23:59:59.000000Z",
    "updated_at": "2099-12-31T23:59:59.000000Z",
    "sort": 1,
    "files_count": 7,
    "files_size": 10000,
    "path": ".1233.1234",
    "show_large_folder_name": true,
    "thumbs_scale_to_fit": true
  },
  "links": {
    "self": "https://example.kontainer.com/jsonapi/v2/dam/folders/1234"
  },
  "meta": {
    "folder_type": "folder"
  }
}

Changes

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