Enneo

Files connector

Rename or move a folder

PATCH /knowledgeSource/filesConnector/folders/{id}

PATCH /knowledgeSource/filesConnector/folders/{id}

Renames and/or moves a folder. After the change, rebuilds the source column for all descendant files and emits one knowledgeSourceChanged action=update event per descendant. Cortex handles these via update_properties (no re-embedding).

Path parameters

idintegerpathrequired

Folder structure ID

Request body

namestringbody

New folder name

parentIdintegerbody

New parent folder structure ID

Request Example

{
  "name": "Vertrieb",
  "parentId": 10
}

Responses

200 — Folder updated successfully

Response Example

{
  "success": true
}

404 — Folder or parent folder not found