Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation removes a user from a specified account. It is useful in scenarios where you need to manage access control by revoking a user's permissions or membership from an account, such as when an employee leaves a team or no longer requires access to certain resources.

Practical examples include:

  • Removing a former team member's access to a company account.
  • Revoking a contractor's user privileges after project completion.
  • Managing user roles and memberships dynamically within an application.

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 account.

Output

The output JSON typically contains confirmation details about the removal operation. This may include status messages or metadata confirming that the user was successfully removed from the specified account.

No binary data output is expected for this operation.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to authorize requests against the external service managing accounts and users.
  • The node interacts with an external API endpoint (base URL configured via credentials) to perform the user removal action.

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 and accessible.
    • "Unauthorized" or "Authentication failed" — Check that the API key or authentication token is correctly set up and has necessary permissions.
    • "Network error" — Ensure stable internet connection and correct API base URL configuration.

Links and References

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

Discussion