Dirigible API reference
Endpoints · Folders
Rename or move a folder
Docs / Folders / Rename or move a folder
PATCH
https://node.dirigible.app/v1/folders/{id}Renames a folder (title) or moves it under another folder (parentId). Fields you omit are left unchanged. Returns the updated folder.
Authentication
Bearer API key required.
Method
PATCH · JSON
Sync
Changes appear live in the app.
Parameters
idstringrequiredFolder id.
Request body (JSON)
Status codes
200Success. Returns the resource (or an array); a delete returns { "ok": true }.
401Missing or invalid API key.
404The resource wasn't found (or isn't yours).
400Malformed request body.
curl -X PATCH "https://node.dirigible.app/v1/folders/<id>" \
-H "Authorization: Bearer dg_your_key" \
-H "Content-Type: application/json" \
-d '{ "title": "Active projects", "parentId": null }'curlruns against the live API
Sample response
{ "id": "f9e8…", "type": "folder", "title": "Active projects", "parentId": null }json