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
Teams → Delete A Team
AI-generatedOverview
This node operation allows you to delete a specific team within an account in the ChatWoot system. It is useful when you want to remove teams that are no longer active or needed, helping to keep your workspace organized and up-to-date. For example, if a project team has disbanded or merged with another, you can use this operation to clean up the team list by deleting the obsolete team.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account where the team exists. This identifies the parent account. |
| Team Id | The numeric ID of the team you want to delete. |
Output
The output will typically contain a JSON object indicating the success or failure of the deletion request. It may include status codes or messages confirming that the team was deleted or describing any errors encountered. There is no binary data output for this operation.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The node expects the base URL of the ChatWoot instance to be configured in the credentials.
- Network access to the ChatWoot API endpoint is necessary.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Account Id or Team Id will result in an error.
- Insufficient permissions or incorrect API credentials can cause authentication failures.
- Network connectivity problems may prevent the API call from succeeding.
Error messages:
- "Team not found" — Verify that the Team Id is correct and belongs to the specified Account Id.
- "Unauthorized" or "Authentication failed" — Check that the API key credential is valid and properly configured.
- "Network error" — Ensure that the ChatWoot API URL is reachable from your environment.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n documentation on creating custom nodes