Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Account Teams → Delete Team Member

AI-generated

Overview

This node operation deletes a member from a specific team within an account. It is useful in scenarios where you need to manage team memberships dynamically, such as removing users who no longer require access or have left the organization. For example, if a user leaves a project or company, this operation can be used to revoke their team membership programmatically.

Properties

Name Meaning
Account Id Identifier of the account from which the team member will be removed
Team Id Identifier of the team from which the member will be deleted
Member Id Identifier of the member (userId in Payhawk) to be removed from the specified team

Output

The output JSON typically contains the result of the delete operation, which may include confirmation of successful removal or details about the deleted member. Since this is a deletion operation, the output might be minimal or just a status confirmation. The node does not explicitly handle binary data output.

Dependencies

  • Requires an API key credential for authentication with the external service managing accounts and teams.
  • The node depends on the Payhawk API endpoint configured via credentials, specifically the base URL and authentication headers.
  • No additional external services are required beyond the configured API access.

Troubleshooting

  • Common Issues:

    • Invalid or missing identifiers (Account Id, Team Id, Member Id) will cause the operation to fail.
    • Insufficient permissions or invalid API credentials can lead to authorization errors.
    • Network connectivity issues may prevent communication with the API.
  • Error Messages:

    • "Member not found" — Verify that the Member Id is correct and that the member exists in the specified team.
    • "Unauthorized" or "Authentication failed" — Check that the API key credential is valid and has necessary permissions.
    • "Invalid Account or Team Id" — Confirm that the provided Account Id and Team Id are accurate and exist.

Resolving these errors usually involves verifying input parameters, ensuring proper API credentials, and confirming network connectivity.

Links and References

Discussion