PUT api/folders/{id}

Updates a folder.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the folder to update.

globally unique identifier

Required

Body Parameters

The folder model to update with.

FolderDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Required

String length: inclusive between 0 and 250

CreationDate

date

None.

Description

string

None.

ThumbnailUrl

string

None.

CreatedByUserId

globally unique identifier

None.

ViewPermissionGroupId

globally unique identifier

None.

EditPermissionGroupId

globally unique identifier

None.

DeletePermissionGroupId

globally unique identifier

None.

CanEdit

boolean

None.

CanDelete

boolean

None.

TenantId

globally unique identifier

None.

ParentFolderId

globally unique identifier

None.

ContentTypeIds

Collection of globally unique identifier

None.

ContentTypes

Collection of ContentTypeDto

None.

ContentTypeClassifications

Collection of ContentClassificationDto

None.

EnableContentUpload

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "5ee0c431-31e8-4ea4-b6f3-1fa06495fd36",
  "Name": "sample string 2",
  "CreationDate": "2025-12-10T03:44:53.8529551+00:00",
  "Description": "sample string 4",
  "ThumbnailUrl": "sample string 5",
  "CreatedByUserId": "45cb4f68-cc38-48ca-89b3-0f9e8a28722d",
  "ViewPermissionGroupId": "d57a550f-5064-42b5-94ef-0dacf47cf0ee",
  "EditPermissionGroupId": "ed8cd6df-1941-4582-a423-a9df8f5d2074",
  "DeletePermissionGroupId": "ab89d266-9a44-48f7-a76c-8b8984cf370a",
  "CanEdit": true,
  "CanDelete": true,
  "TenantId": "e9488f88-c534-4570-8357-24c5566fb563",
  "ParentFolderId": "39e878f7-bf03-4139-9059-bed34ccf2724",
  "ContentTypeIds": [
    "c6e592fd-1558-4eea-8627-7bb7a22e8c01",
    "61cace8b-80d1-4652-b84b-7d92ff79f053"
  ],
  "ContentTypes": [
    {
      "Id": "4f08e3ca-8977-4adc-bc38-28f02ba81d0c",
      "CreationDateUtc": "2025-12-10T03:44:53.8529551+00:00",
      "Name": "sample string 3",
      "SupportedFileTypes": "sample string 4",
      "ContentClassification": 0
    },
    {
      "Id": "4f08e3ca-8977-4adc-bc38-28f02ba81d0c",
      "CreationDateUtc": "2025-12-10T03:44:53.8529551+00:00",
      "Name": "sample string 3",
      "SupportedFileTypes": "sample string 4",
      "ContentClassification": 0
    }
  ],
  "ContentTypeClassifications": [
    0,
    0
  ],
  "EnableContentUpload": true
}

application/xml, text/xml

Sample:
<FolderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Content.Models">
  <CanDelete>true</CanDelete>
  <CanEdit>true</CanEdit>
  <ContentTypeClassifications>
    <ContentClassificationDto>Any</ContentClassificationDto>
    <ContentClassificationDto>Any</ContentClassificationDto>
  </ContentTypeClassifications>
  <ContentTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>c6e592fd-1558-4eea-8627-7bb7a22e8c01</d2p1:guid>
    <d2p1:guid>61cace8b-80d1-4652-b84b-7d92ff79f053</d2p1:guid>
  </ContentTypeIds>
  <ContentTypes>
    <ContentTypeDto>
      <ContentClassification>Any</ContentClassification>
      <CreationDateUtc>2025-12-10T03:44:53.8529551+00:00</CreationDateUtc>
      <Id>4f08e3ca-8977-4adc-bc38-28f02ba81d0c</Id>
      <Name>sample string 3</Name>
      <SupportedFileTypes>sample string 4</SupportedFileTypes>
    </ContentTypeDto>
    <ContentTypeDto>
      <ContentClassification>Any</ContentClassification>
      <CreationDateUtc>2025-12-10T03:44:53.8529551+00:00</CreationDateUtc>
      <Id>4f08e3ca-8977-4adc-bc38-28f02ba81d0c</Id>
      <Name>sample string 3</Name>
      <SupportedFileTypes>sample string 4</SupportedFileTypes>
    </ContentTypeDto>
  </ContentTypes>
  <CreatedByUserId>45cb4f68-cc38-48ca-89b3-0f9e8a28722d</CreatedByUserId>
  <CreationDate>2025-12-10T03:44:53.8529551+00:00</CreationDate>
  <DeletePermissionGroupId>ab89d266-9a44-48f7-a76c-8b8984cf370a</DeletePermissionGroupId>
  <Description>sample string 4</Description>
  <EditPermissionGroupId>ed8cd6df-1941-4582-a423-a9df8f5d2074</EditPermissionGroupId>
  <EnableContentUpload>true</EnableContentUpload>
  <Id>5ee0c431-31e8-4ea4-b6f3-1fa06495fd36</Id>
  <Name>sample string 2</Name>
  <ParentFolderId>39e878f7-bf03-4139-9059-bed34ccf2724</ParentFolderId>
  <TenantId>e9488f88-c534-4570-8357-24c5566fb563</TenantId>
  <ThumbnailUrl>sample string 5</ThumbnailUrl>
  <ViewPermissionGroupId>d57a550f-5064-42b5-94ef-0dacf47cf0ee</ViewPermissionGroupId>
</FolderDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.