PUT api/folders/{id}
Updates a folder.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the folder to update. |
globally unique identifier |
Required |
Body Parameters
The folder model to update with.
FolderDto| Name | Description | Type | Additional 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": "61fa5c22-9965-4e45-8849-bbbe48019f33",
"Name": "sample string 2",
"CreationDate": "2026-01-07T11:35:52.8260265+00:00",
"Description": "sample string 4",
"ThumbnailUrl": "sample string 5",
"CreatedByUserId": "14d5379c-c8e9-4a6c-b4c6-fce9c6c24aaf",
"ViewPermissionGroupId": "af60ddfd-f58e-47bf-a748-2dc614d3b686",
"EditPermissionGroupId": "34d33182-fe7f-4be2-bf20-3a664a040ff1",
"DeletePermissionGroupId": "ddab7e3e-82a9-4b4c-ae5c-69d9cc52d4c8",
"CanEdit": true,
"CanDelete": true,
"TenantId": "4edd9d41-ab8a-4bfc-89dd-165785c9e1c4",
"ParentFolderId": "7c87a8a4-8b2e-443d-ae99-ecfb1a500aa5",
"ContentTypeIds": [
"79c64afa-9ed1-4597-9b3d-2cdad1325b64",
"6c11d26b-a278-4ee6-8fd7-d31faab3343b"
],
"ContentTypes": [
{
"Id": "36a4d497-1d33-4b7c-bc46-fe6d45cd508e",
"CreationDateUtc": "2026-01-07T11:35:52.8260265+00:00",
"Name": "sample string 3",
"SupportedFileTypes": "sample string 4",
"ContentClassification": 0
},
{
"Id": "36a4d497-1d33-4b7c-bc46-fe6d45cd508e",
"CreationDateUtc": "2026-01-07T11:35:52.8260265+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>79c64afa-9ed1-4597-9b3d-2cdad1325b64</d2p1:guid>
<d2p1:guid>6c11d26b-a278-4ee6-8fd7-d31faab3343b</d2p1:guid>
</ContentTypeIds>
<ContentTypes>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-07T11:35:52.8260265+00:00</CreationDateUtc>
<Id>36a4d497-1d33-4b7c-bc46-fe6d45cd508e</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-07T11:35:52.8260265+00:00</CreationDateUtc>
<Id>36a4d497-1d33-4b7c-bc46-fe6d45cd508e</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
</ContentTypes>
<CreatedByUserId>14d5379c-c8e9-4a6c-b4c6-fce9c6c24aaf</CreatedByUserId>
<CreationDate>2026-01-07T11:35:52.8260265+00:00</CreationDate>
<DeletePermissionGroupId>ddab7e3e-82a9-4b4c-ae5c-69d9cc52d4c8</DeletePermissionGroupId>
<Description>sample string 4</Description>
<EditPermissionGroupId>34d33182-fe7f-4be2-bf20-3a664a040ff1</EditPermissionGroupId>
<EnableContentUpload>true</EnableContentUpload>
<Id>61fa5c22-9965-4e45-8849-bbbe48019f33</Id>
<Name>sample string 2</Name>
<ParentFolderId>7c87a8a4-8b2e-443d-ae99-ecfb1a500aa5</ParentFolderId>
<TenantId>4edd9d41-ab8a-4bfc-89dd-165785c9e1c4</TenantId>
<ThumbnailUrl>sample string 5</ThumbnailUrl>
<ViewPermissionGroupId>af60ddfd-f58e-47bf-a748-2dc614d3b686</ViewPermissionGroupId>
</FolderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.