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 inactive teams from a group in an external system. For example, if a project team is disbanded, this operation can be used to clean up the group by deleting that team's record.

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 after attempting to delete the specified team. This may include confirmation of deletion or error details if the operation failed. The node does not output binary data.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured in the credentials to send HTTP requests.
  • Depends on an OpenAPI-based client library for request construction and execution.

Troubleshooting

  • Common issues:
    • Invalid or missing Group Id or Team Id will cause the deletion to fail.
    • Authentication errors if the API key or credentials are incorrect or expired.
    • Network connectivity problems preventing access to the external API.
  • Error messages:
    • "Not Found" or similar indicates the specified team or group does not exist.
    • "Unauthorized" suggests invalid or missing API credentials.
    • To resolve, verify input IDs, check API credentials, and ensure network access.

Links and References

  • Refer to the external API documentation for detailed information about group and team management endpoints.
  • n8n documentation on creating and using custom nodes with API integrations.

Discussion