Actions111
- Item Actions
- Webhook Actions
- Collection Actions
- File Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Extension Actions
- Field Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Setting Actions
- User Actions
- Utility Actions
Overview
This node is designed to delete a folder by its unique ID. It is useful in workflows where you need to programmatically remove folders from a system, such as cleaning up resources after processing or managing organizational structures. For example, you might use this node to automatically delete temporary folders created during data import processes.
Properties
| Name | Type | Meaning |
|---|---|---|
| ID | String | Unique ID of the folder object to be deleted. This is required and identifies which folder will be removed. |
Output
- The output will typically be a JSON object indicating the result of the delete operation. This may include confirmation of deletion or details about the deleted folder.
- No binary data is produced by this operation.
Dependencies
- May require authentication credentials or API keys depending on the connected service (e.g., Directus).
- Ensure that the n8n instance is configured with access to the relevant backend or API.
Troubleshooting
- Missing or Invalid ID: If the "ID" property is empty or does not correspond to an existing folder, the node may throw an error such as "Folder not found" or "Invalid ID". Ensure the ID is correct and exists.
- Permission Denied: If the user or API key does not have permission to delete folders, an error like "Unauthorized" or "Forbidden" may occur. Check your permissions.
- Connection Issues: Errors related to network or API connectivity may appear if the backend service is unreachable.