ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node operation deletes a user from a specified account in the ChatWoot system. It is useful for managing account memberships by removing users who no longer need access or are no longer part of the team. For example, when an employee leaves a company, this operation can be used to revoke their access to the account.

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 output JSON typically contains the response from the ChatWoot API confirming the deletion of the user. This may include status information or confirmation messages. There is no indication that binary data is returned by this operation.

Dependencies

  • Requires an API key credential for authenticating with the ChatWoot API.
  • The node uses the base URL provided in the credentials to send requests.
  • The node depends on the @devlikeapro/n8n-openapi-node package and the OpenAPI specification defined in openapi.json for request building.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Id or User Id will cause the API call to fail.
    • Authentication errors if the API key credential is incorrect or expired.
    • Network connectivity issues preventing communication with the ChatWoot API.
  • Error messages:

    • "User not found" or similar indicates the User Id does not exist in the specified account.
    • "Unauthorized" or "Authentication failed" suggests problems with the API key credential.
    • "Invalid Account Id" means the account specified does not exist or is inaccessible.
  • Resolutions:

    • Verify that both Account Id and User Id are correct and correspond to existing entities.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Check network settings and API endpoint URL in the credentials.

Links and References

Discussion