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 associated team data by deleting it.

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 depends on an HTTP-based API endpoint that supports team deletion within groups.
  • Proper configuration of the base URL and authentication credentials in n8n is necessary.

Troubleshooting

  • Common issues:
    • Invalid or missing Group Id or Team Id will cause the operation to fail.
    • Authentication errors if the API key or token is incorrect or expired.
    • Network connectivity problems preventing access to the external API.
  • Error messages:
    • "Team not found" indicates the provided Team Id does not exist within the specified Group Id.
    • "Unauthorized" or "Authentication failed" suggests issues with the API credentials.
    • "Bad Request" may indicate malformed input parameters.
  • Resolutions:
    • Verify that both Group Id and Team Id are correct and exist.
    • Ensure API credentials are valid and have sufficient permissions.
    • Check network connectivity and API endpoint availability.

Links and References

  • Refer to the external API documentation for details on the team deletion endpoint.
  • Consult n8n documentation on setting up API credentials and HTTP request nodes for additional context.

Discussion