Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Folder → Update Multiple
AI-generatedOverview
This node operation updates multiple folder objects in the Directus system. It allows users to specify JSON data representing the properties of folders they want to update, such as changing the parent folder of multiple folders at once. This is useful for batch updating folder metadata or reorganizing folder structures efficiently.
Use Case Examples
- Updating the parent folder for multiple folders by providing their IDs and the new parent ID in the JSON data.
- Modifying other folder properties in bulk, such as renaming or changing folder descriptions, by specifying the relevant fields in the JSON input.
Properties
| Name | Meaning |
|---|---|
| Data (JSON) | JSON object containing any of the folder object's properties to update for multiple folders. This input is required and should follow the folder object schema as per Directus API documentation. |
Output
JSON
updatedFolders- Array of folder objects that were updated with the new properties.
Dependencies
- Requires an API key credential for authenticating with the Directus API.
Troubleshooting
- Ensure the JSON data is correctly formatted and includes valid folder properties as per the Directus folder object schema.
- Verify that the user has sufficient permissions to update multiple folders in the Directus system.
- Common errors include invalid JSON input, unauthorized access, or specifying non-existent folder IDs. Check API response messages for specific error details.
Links
- Directus Folder Object Documentation - Reference for the folder object properties that can be updated via the API.