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 company from the Hudu system by specifying its unique ID. It is useful in automation scenarios where you need to programmatically remove company records, such as cleaning up test data, synchronizing with external systems, or managing company lifecycle events.
Example use cases:
- Automatically deleting companies that have been deactivated in another system.
- Removing test or demo companies after QA processes.
- Integrating with other workflows that require company removal upon certain triggers.
Properties
| Name | Type | Meaning |
|---|---|---|
| Id | Number | ID of the company to delete. This is required. |
Output
The node outputs a JSON object indicating the result of the deletion operation. The exact structure may depend on the API's response, but typically it will confirm successful deletion or provide error details if the operation failed.
Dependencies
- External Service: Requires access to the Hudu API.
- API Key/Credentials: Needs valid
avantguardHuduApicredentials configured in n8n, including the base URL and authentication token. - n8n Configuration: Ensure the credentials are set up under the name
avantguardHuduApi.
Troubleshooting
- Invalid or Missing ID: If the provided company ID does not exist, the API may return an error such as "Company not found." Double-check the ID value.
- Authentication Errors: If credentials are missing or incorrect, you may see errors like "Unauthorized" or "Invalid API key." Verify your credential setup in n8n.
- Network Issues: Connectivity problems with the Hudu API endpoint can cause timeouts or connection errors. Ensure the base URL is correct and reachable from your n8n instance.