Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation, "Remove Account User," is designed to remove a specific user from an account. It is useful in scenarios where you need to manage user access and permissions within accounts, such as revoking access for former employees or managing team membership dynamically. For example, if a company wants to ensure that a user no longer has access to a particular account's resources, this operation can be used to remove that user's association with the account.

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 output of this operation typically includes a JSON object indicating the success or failure of the removal action. The exact structure depends on the API response but generally confirms whether the user was successfully removed from the account. There is no indication that binary data is returned by this operation.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to authorize requests.
  • Depends on the external service API (referred to generically here) that manages accounts and users.
  • The base URL for the API must be set in the node credentials or environment configuration.

Troubleshooting

  • Common Issues:

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

    • "User not found" — Verify the User Id is correct and exists in the specified account.
    • "Account not found" — Check that the Account Id is valid.
    • "Unauthorized" or "Authentication failed" — Ensure the API key or authentication token is correctly configured and has necessary permissions.
    • "Failed to remove user" — Could indicate server-side issues or restrictions; retry or check API status.

Links and References

  • Refer to the external API documentation for detailed information on account and user management endpoints.
  • Consult n8n documentation on setting up API credentials and handling HTTP request nodes for further customization.

Discussion