Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation deletes a specific team within a group. It is useful in scenarios where you need to manage organizational structures dynamically, such as removing obsolete or disbanded teams from a group in an external system. For example, if a project team is dissolved, this operation can be used to clean up the team's presence in the group management system.

Properties

Name Meaning
Group Id Identifier of the Group
Team Id Identifier of the Team to be deleted

Output

The output JSON typically contains the response from the API confirming the deletion of the specified team. This may include status information or confirmation messages. The node does not output binary data.

Dependencies

  • Requires an API key credential for authentication with the external service managing groups and teams.
  • The node uses a base URL configured in the credentials to send HTTP requests.
  • The operation depends on the external API's availability and correct configuration of the API endpoint.

Troubleshooting

  • Common issues:

    • Invalid or missing Group Id or Team Id will cause the operation to fail.
    • Authentication errors if the API key or credentials are incorrect or expired.
    • Network connectivity problems preventing access to the external API.
    • Attempting to delete a non-existent team may result in an error response.
  • Error messages and resolutions:

    • "Unauthorized" or "Authentication failed": Verify that the API key credential is correctly set up and has necessary permissions.
    • "Team not found": Check that the Team Id is correct and exists within the specified Group Id.
    • "Invalid Group Id": Confirm the Group Id is valid and accessible.
    • Network errors: Ensure network connectivity and that the API endpoint is reachable.

Links and References

  • Refer to the external API documentation for detailed information about group and team management endpoints.
  • Consult n8n documentation on setting up API key credentials and configuring HTTP request nodes for further customization.

Discussion