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": "610e6940-1bd7-418e-9487-744618f141fb",
"Name": "sample string 2",
"CreationDate": "2026-01-09T01:28:44.6126568+00:00",
"Description": "sample string 4",
"ThumbnailUrl": "sample string 5",
"CreatedByUserId": "9816ed25-6bd1-4383-8074-6b48dc1efe8f",
"ViewPermissionGroupId": "51eefcd5-2b16-439d-8d90-6033cbebc70c",
"EditPermissionGroupId": "424720df-3dc7-4a6f-b5aa-d42cd9ebcf99",
"DeletePermissionGroupId": "39707c75-7876-4083-ad4c-c9bd885abbd6",
"CanEdit": true,
"CanDelete": true,
"TenantId": "d334b247-ebb8-4e7a-a374-7f9b779af0f7",
"ParentFolderId": "e9a606aa-debe-45b1-96cb-40e1e421a3fb",
"ContentTypeIds": [
"76e1138f-d2f2-400f-af48-c88c4ed53c08",
"04d64ff4-720e-4fb2-816d-4939426e7dd8"
],
"ContentTypes": [
{
"Id": "3ec0e1d5-dd9c-4d5f-b79c-3b2145fd2526",
"CreationDateUtc": "2026-01-09T01:28:44.6126568+00:00",
"Name": "sample string 3",
"SupportedFileTypes": "sample string 4",
"ContentClassification": 0
},
{
"Id": "3ec0e1d5-dd9c-4d5f-b79c-3b2145fd2526",
"CreationDateUtc": "2026-01-09T01:28:44.6126568+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>76e1138f-d2f2-400f-af48-c88c4ed53c08</d2p1:guid>
<d2p1:guid>04d64ff4-720e-4fb2-816d-4939426e7dd8</d2p1:guid>
</ContentTypeIds>
<ContentTypes>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-09T01:28:44.6126568+00:00</CreationDateUtc>
<Id>3ec0e1d5-dd9c-4d5f-b79c-3b2145fd2526</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-09T01:28:44.6126568+00:00</CreationDateUtc>
<Id>3ec0e1d5-dd9c-4d5f-b79c-3b2145fd2526</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
</ContentTypes>
<CreatedByUserId>9816ed25-6bd1-4383-8074-6b48dc1efe8f</CreatedByUserId>
<CreationDate>2026-01-09T01:28:44.6126568+00:00</CreationDate>
<DeletePermissionGroupId>39707c75-7876-4083-ad4c-c9bd885abbd6</DeletePermissionGroupId>
<Description>sample string 4</Description>
<EditPermissionGroupId>424720df-3dc7-4a6f-b5aa-d42cd9ebcf99</EditPermissionGroupId>
<EnableContentUpload>true</EnableContentUpload>
<Id>610e6940-1bd7-418e-9487-744618f141fb</Id>
<Name>sample string 2</Name>
<ParentFolderId>e9a606aa-debe-45b1-96cb-40e1e421a3fb</ParentFolderId>
<TenantId>d334b247-ebb8-4e7a-a374-7f9b779af0f7</TenantId>
<ThumbnailUrl>sample string 5</ThumbnailUrl>
<ViewPermissionGroupId>51eefcd5-2b16-439d-8d90-6033cbebc70c</ViewPermissionGroupId>
</FolderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.