Actions109
- Asset Layouts Actions
- Asset Passwords Actions
- Assets Actions
- Get Assets
- Get Companies Company Id Assets
- Post Companies Company Id Assets
- Get Companies Company Id Assets Id
- Put Companies Company Id Assets Id
- Delete Companies Company Id Assets Id
- Put Companies Company Id Assets Id Archive
- Put Companies Company Id Assets Id Unarchive
- Put Companies Company Id Assets Id Move Layout
- Cards Actions
- Companies Actions
- Expirations Actions
- Exports Actions
- Folders Actions
- IP Addresses Actions
- Lists Actions
- Magic Dash Actions
- Matchers Actions
- Networks Actions
- Password Folders Actions
- Procedure Tasks Actions
- Websites Actions
- Procedures Actions
- Public Photos Actions
- Rack Storage Items Actions
- Rack Storages Actions
- Relations Actions
- Uploads Actions
- Users Actions
- Activity Logs Actions
- Articles Actions
Overview
This node allows you to delete a folder by its ID within the "Folders" resource. It is useful in scenarios where you need to automate the cleanup or management of folders in your system, such as removing obsolete or temporary folders as part of a workflow.
Practical examples:
- Automatically deleting project folders after project completion.
- Cleaning up test or temporary folders on a scheduled basis.
- Integrating with other nodes to remove folders based on certain conditions.
Properties
| Name | Type | Meaning |
|---|---|---|
| Id | Number | ID of the folder to delete (required). |
Output
- The output will typically be a JSON object indicating the result of the deletion operation. This may include:
- Confirmation of successful deletion.
- Any error messages if the folder could not be deleted.
Example output:
{
"success": true,
"message": "Folder deleted successfully."
}
Note: Actual output structure may vary depending on the API response.
Dependencies
- External Service: Requires access to the AvantGuard Hudu API.
- API Key/Credentials: You must configure the
avantguardHuduApicredentials in n8n, including thebaseUrl. - n8n Configuration: Ensure that the credentials are set up and the base URL points to your Hudu instance.
Troubleshooting
Common Issues:
- Invalid or missing folder ID: Ensure the "Id" property is set to a valid folder ID.
- Authentication errors: Check that your API credentials (
avantguardHuduApi) are correct and have sufficient permissions. - Network or connectivity issues: Make sure n8n can reach the Hudu API endpoint.
Common Error Messages:
"Folder not found": The specified folder ID does not exist. Double-check the ID."Unauthorized": Your API credentials are incorrect or lack permission. Update your credentials."Failed to delete folder": There may be dependencies or restrictions preventing deletion. Review folder usage and try again.