PATCH /v1/dms/folders/{id}
PATCH/v1/dms/folders/{id}
Update a DMS folder
Request body
| Name | Type | Description |
|---|
name | string | |
description | string | |
icon | string | |
color | string | |
sortOrder | integer | |
defaultDocumentTypeId | string | |
retentionPolicyId | string | |
Path parameters
| Name | Type | Description |
|---|
idrequired | string | |
Example
curl -X PATCH https://api.codemeta-os.de/v1/dms/folders/{id} \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"name": "string",
"description": "string",
"icon": "string",
"color": "string",
"sortOrder": 0,
"defaultDocumentTypeId": "string",
"retentionPolicyId": "string"
}'
const result = await cm.dms.patch({
"name": "string",
"description": "string",
"icon": "string",
"color": "string",
"sortOrder": 0,
"defaultDocumentTypeId": "string",
"retentionPolicyId": "string"
});
Response codes
| HTTP |
Meaning |
200 |
Default Response |