Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation deletes a specific team associated with an account. It is useful in scenarios where you need to manage organizational structures by removing teams that are no longer active or relevant. For example, if a project team has been disbanded or merged, this operation helps keep the account's team list up to date by deleting obsolete teams.

Properties

Name Meaning
Account Id Identifier of the account
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 indicating whether the deletion was successful. The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the external service managing accounts and teams.
  • The node depends on the external API endpoint that handles team deletion within an account context.
  • Proper configuration of the base URL and authentication credentials in n8n is necessary for successful execution.

Troubleshooting

  • Common Issues:

    • Invalid or missing Account Id or Team Id will cause the operation to fail.
    • Insufficient permissions or invalid API credentials can result in authorization errors.
    • Network connectivity issues may prevent the node from reaching the API endpoint.
  • Error Messages:

    • "Team not found" — Verify that the Team Id is correct and exists under the specified Account Id.
    • "Unauthorized" or "Authentication failed" — Check that the API key credential is valid and properly configured.
    • "Bad Request" — Ensure all required properties are provided and correctly formatted.

Links and References

  • Refer to the external API documentation for detailed information about the team deletion endpoint and required parameters.
  • Consult n8n documentation on how to configure API credentials and handle HTTP request nodes for further customization.

Discussion