ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows you to delete a team within an account on the ChatWoot platform. It is useful for managing organizational structures by removing teams that are no longer needed or relevant. For example, if a project team has been disbanded or merged, this node can be used 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 to be deleted.

Output

The output will contain JSON data reflecting the result of the delete operation. Typically, this includes confirmation of successful deletion or details about any error encountered. There is no indication that binary data is returned 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 uses standard HTTP headers for JSON content type and expects JSON responses.

Troubleshooting

  • Common issues:
    • Invalid or missing Account Id or Team Id will cause the deletion to fail.
    • Authentication errors if the API key or base URL is incorrect or expired.
    • Attempting to delete a team that does not exist or belongs to another account may result in an error.
  • Error messages:
    • "Unauthorized" or "Authentication failed": Check API key and base URL configuration.
    • "Team not found": Verify the Team Id and Account Id are correct.
    • "Forbidden" or permission denied: Ensure the API key has sufficient permissions to delete teams.

Links and References

Discussion