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
Account Users → Delete An Account User
AI-generatedOverview
This node interacts with the ChatWoot API to manage account users. Specifically, the "Delete An Account User" operation allows you to remove a user from a specified account by providing the account's numeric ID and the user's ID. This is useful in scenarios where you need to programmatically revoke access or clean up user lists within your ChatWoot accounts.
Practical examples include:
- Automating user management workflows when employees leave an organization.
- Integrating with HR systems to sync user access automatically.
- Cleaning up test or temporary users after certain operations.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account from which the user will be deleted. |
| User Id | The ID of the user to delete from the account. |
Output
The node outputs JSON data representing the result of the deletion request. Typically, this will include confirmation of the user removal or details about the operation's success or failure. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the node credentials.
- The node depends on the ChatWoot REST API being accessible and the provided IDs being valid.
Troubleshooting
- Invalid Account Id or User Id: If either ID is incorrect or does not exist, the API will likely return an error indicating the resource was not found. Verify the IDs before running the node.
- Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions to delete users.
- Network Issues: Connectivity problems to the ChatWoot API endpoint can cause failures; check network settings and API availability.
- Permission Denied: The authenticated user may lack rights to delete users in the specified account; verify user roles and permissions in ChatWoot.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n Documentation (for general usage of custom nodes and credentials)