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
idintegerpathrequiredFolder structure ID
Request body
namestringbodyNew folder name
parentIdintegerbodyNew 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