Actions100
- 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
Overview
The Delete A Team operation for the Teams resource in this custom n8n node allows users to remove a specific team from their ChatWoot account. This is useful for administrators who need to manage and clean up teams that are no longer needed or were created by mistake. For example, if a support team is disbanded or merged with another, you can use this operation to delete its record from ChatWoot.
Properties
| Display Name | Type | Description |
|---|---|---|
| Account Id | Number | The numeric ID of the account. Required. |
| Team Id | Number | The ID of the team to be updated. Required. |
- Account Id: Enter the unique numeric identifier for your ChatWoot account.
- Team Id: Specify the unique identifier of the team you wish to delete.
Output
- The output will be a JSON object reflecting the result of the delete operation. Typically, this may include a success message or status, and possibly details about the deleted team or confirmation of deletion.
- No binary data is produced by this operation.
Dependencies
- External Service: Requires access to the ChatWoot API.
- API Credentials: You must configure the
chatwootApicredential in n8n, including the base URL (url) and any necessary authentication tokens. - n8n Configuration: Ensure the node has access to the internet and the correct credentials are set up in your n8n instance.
Troubleshooting
Common Issues:
- Invalid Account Id or Team Id: If either ID is incorrect or does not exist, the API may return an error indicating the resource was not found.
- Missing Credentials: If the
chatwootApicredential is not configured, the node will fail to connect to the ChatWoot API. - Insufficient Permissions: The API key used must have permission to delete teams; otherwise, you may receive a "Forbidden" or "Unauthorized" error.
Error Messages:
"Resource not found": Check that both Account Id and Team Id are correct."Unauthorized"or"Forbidden": Verify your API credentials and permissions."Network Error": Ensure your n8n instance can reach the ChatWoot API endpoint.