PATCH /v1/dms/folders/{id}
PATCH/v1/dms/folders/{id}
Update a DMS folder
Corps de la requête
| Nom | Type | Description |
|---|
name | string | |
description | string | |
icon | string | |
color | string | |
sortOrder | integer | |
defaultDocumentTypeId | string | |
retentionPolicyId | string | |
Paramètres de chemin
| Nom | Type | Description |
|---|
idobligatoire | string | |
Exemple
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"
});
Codes de réponse
| HTTP |
Signification |
200 |
Default Response |