Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Accounts → Remove Account User

AI-generated

Overview

This node operation allows you to remove a user from a specific account. It is useful in scenarios where you need to manage access control by revoking a user's permissions or association with an account, such as when an employee leaves a project or organization, or when cleaning up unused user accounts.

Practical examples include:

  • Removing a team member from a shared company account.
  • Revoking access for a contractor who no longer requires entry to the account.
  • Managing user roles and memberships programmatically within an automation workflow.

Properties

Name Meaning
Account Id Identifier of the account from which the user will be removed.
User Id Identifier of the user to be removed from the specified account.

Output

The node outputs JSON data representing the result of the removal operation. This typically includes confirmation of success or details about the removed user-account association. The exact structure depends on the API response but generally confirms that the user was successfully removed.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential to authenticate requests against the external service managing accounts and users.
  • The node uses a base URL configured via credentials to connect to the API endpoint.
  • The operation depends on the external service's API supporting user removal from accounts.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Id or User Id can cause the operation to fail.
    • Insufficient permissions or invalid API credentials may result in authorization errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages and resolutions:

    • "User not found" — Verify the User Id is correct and exists in the specified account.
    • "Account not found" — Confirm the Account Id is valid.
    • "Unauthorized" or "Authentication failed" — Check that the API key credential is correctly configured and has necessary permissions.
    • "Network error" — Ensure stable internet connection and correct API base URL.

Links and References

  • Refer to the external service’s official API documentation for detailed information on the "Remove Account User" endpoint.
  • n8n documentation on creating and using API credentials for authentication.

Discussion