Actions113
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
Accounts → Delete An Account
AI-generatedOverview
This node interacts with the ChatWoot API to delete an account specified by its numeric ID. It is useful in scenarios where you need to programmatically remove accounts from your ChatWoot instance, such as cleaning up test accounts, managing user lifecycle, or automating administrative tasks.
For example, if you have a workflow that deactivates users and you want to also delete their associated ChatWoot accounts, this node can be used to perform that deletion automatically by providing the account ID.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account to delete |
Output
The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified account. This typically includes confirmation of deletion or error details if the operation failed.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot API must be configured in the node credentials.
- The node depends on the
@devlikeapro/n8n-openapi-nodepackage for OpenAPI integration.
Troubleshooting
- Invalid Account Id: If the provided account ID does not exist or is invalid, the API will return an error. Ensure the account ID is correct and exists in your ChatWoot instance.
- Authentication Errors: If the API key or base URL is incorrect or missing, authentication will fail. Verify that the API credentials are properly set up.
- Network Issues: Connectivity problems may cause request failures. Check network access to the ChatWoot API endpoint.
- Permission Denied: The API key used might lack permissions to delete accounts. Confirm that the API token has sufficient rights.