POSThttps://api.aitronos.com/v1/streamline/folders/{folder_id}/reorder
Bulk update display order for folders and automations within a folder.
folder_id string required
Folder ID (sfold_ prefixed), or use "root" for root-level items
items array required
Array of items to reorder. Each item contains:
id(string): Item ID (sfold_ or sauto_ prefixed)type(string): Item type ("folder" or "automation")order(integer): New display order position
Returns 204 No Content on success.
cURL
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/api/v1/streamline/folders/sfold_abc123/reorder" \
-H "X-API-Key: $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{"id": "sfold_ghi789", "type": "folder", "order": 0},
{"id": "sauto_jkl012", "type": "automation", "order": 1}
]
}'