cURL
curl --request DELETE \ --url https://api.trillet.ai/v1/api/flow-folders/{folderId} \ --header 'x-api-key: <api-key>'
{ "_id": "folder123", "workspaceId": "workspace456", "name": "My Workflow Folder", "color": "#FF0000", "icon": "folder-icon", "flowType": "call", "pathwayModel": "Flow", "pathways": ["flow123"], "createdAt": "2023-10-15T09:30:00Z", "updatedAt": "2023-10-15T10:00:00Z" }
Delete a specific folder identified by its folderId and remove its reference from associated flows.
flowType