Actions42
- getUserByID
- addHumanUser
- listUsers
- setEmail
- resendEmailCode
- verifyEmail
- setPhone
- removePhone
- resendPhoneCode
- verifyPhone
- updateHumanUser
- deactivateUser
- reactivateUser
- lockUser
- unlockUser
- deleteUser
- registerPasskey
- verifyPasskeyRegistration
- createPasskeyRegistrationLink
- listPasskeys
- removePasskey
- registerU2F
- verifyU2FRegistration
- removeU2F
- registerTOTP
- verifyTOTPRegistration
- removeTOTP
- addOTPSMS
- removeOTPSMS
- addOTPEmail
- removeOTPEmail
- startIdentityProviderIntent
- retrieveIdentityProviderIntent
- addIDPLink
- listIDPLinks
- removeIDPLink
- passwordReset
- setPassword
- listAuthenticationMethodTypes
- createInviteCode
- resendInviteCode
- verifyInviteCode
Overview
This node provides an interface to interact with the Zitadel API, a platform for identity and access management. It supports multiple services within Zitadel, such as user management, organization management, authentication, administration, and custom actions.
The deleteUser operation under the UserService resource allows deleting a user by their user ID. This is useful in scenarios where you need to programmatically remove users from your system, for example:
- Cleaning up test or inactive user accounts.
- Automating user lifecycle management workflows.
- Integrating user deletion into broader administrative processes.
Properties
| Name | Meaning |
|---|---|
| Service | The Zitadel service to use. Options include: UserService, OrganizationService, AuthService, ManagementService, AdminService, ZITADELActions, UserSchemaService. Default is UserService. |
| userId | The unique identifier of the user to delete. Required when Service is UserService and Operation is deleteUser. |
Output
The node outputs a JSON object representing the response from the Zitadel API after attempting to delete the user. The exact structure depends on the Zitadel API's response for the delete operation but typically includes status information about the deletion request.
No binary data output is produced by this node.
Dependencies
- Requires an API authentication token (Personal Access Token) for Zitadel, configured in n8n credentials.
- Connects to the Zitadel API endpoint at
https://zitadel.studentcouncil.dk. - Uses gRPC client libraries internally to communicate with Zitadel services.
Troubleshooting
- Invalid or missing userId: Ensure that the
userIdproperty is provided and correctly formatted when using thedeleteUseroperation. - Authentication errors: Verify that the Zitadel API token credential is valid and has sufficient permissions to delete users.
- Network or connectivity issues: Confirm that the n8n instance can reach the Zitadel API endpoint.
- Operation not found: If an unsupported operation is selected, the node returns an empty JSON object. Make sure to select valid operations supported by the chosen service.