ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Teams → Delete A Team

AI-generated

Overview

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

Discussion