Actions24
- Tag Actions
- Provider Link Actions
- Computer Actions
- Maintenance Actions
- Person Actions
- Tenant Actions
- User Actions
Overview
This node, named "ImmyBot," integrates with the ImmyBot API to manage various resources. Specifically, for the "User" resource, it supports deleting a user (technician) by their unique ID. This operation is useful in scenarios where you need to programmatically remove users from the system, such as automating user lifecycle management or cleaning up inactive accounts.
Practical example: Automatically delete a technician user when they leave an organization by providing their User ID to this node.
Properties
| Name | Meaning |
|---|---|
| User ID | The numeric ID of the technician to delete |
Output
The node outputs JSON data representing the response from the ImmyBot API after attempting to delete the specified user. Typically, this will include confirmation of deletion or error details if the operation failed.
If the API returns binary data (not indicated here), it would be handled accordingly, but based on the code and context, output is expected to be JSON only.
Dependencies
- Requires an API key credential for authenticating with the ImmyBot API.
- The node uses OAuth2 authentication configured via n8n credentials.
- The base URL for API requests is dynamically constructed using the subdomain provided in the credentials.
- The node expects the ImmyBot API to be accessible at
https://{subdomain}.immy.bot/api/v1.
Troubleshooting
- Common issues:
- Invalid or missing User ID: Ensure the User ID is provided and is a valid number.
- Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
- Network or connectivity problems: Confirm that the subdomain and API endpoint are reachable.
- Error messages:
- Authorization failures typically indicate invalid or expired credentials.
- Not found errors may occur if the User ID does not exist.
- Validation errors if the User ID is malformed or missing.
Resolving these usually involves checking input parameters, refreshing credentials, and verifying API access.
Links and References
- ImmyBot API Documentation (hypothetical link)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/