Overview
This node provides administrative operations for managing users and global settings in the DinastiAPI WhatsApp API system. It allows you to create users, delete users (partially or fully), list all users, retrieve global configuration and statistics, reload configurations, send test events, and test global systems.
A common use case is automating user lifecycle management—creating new users with specific configurations, deleting users completely including their data and sessions, and monitoring or updating global system settings programmatically.
For example, you could use this node to:
- Create a new WhatsApp API user with custom webhook URLs and event subscriptions.
- Fully delete a user’s data from the database, S3 storage, and log them out.
- Retrieve current global system statistics to monitor usage.
- Send a test event globally to verify event handling.
Properties
| Name | Meaning |
|---|---|
| User ID | ID of the user to delete. Required for "Delete User" and "Delete User Full" operations. |
The node also supports other properties for different operations (not listed here as per your request to focus on "Delete User Full"), such as:
- Operation: The action to perform (e.g., createUser, deleteUserFull).
- Additional options when creating users (webhook URL, events, expiration, proxy, S3, RabbitMQ configs).
- Event Type, Test User ID, and Test Data for sending global test events.
Output
The output is a JSON array containing the response from the DinastiAPI server for each input item processed. Each element corresponds to one execution item and includes the result of the requested operation.
For the "Delete User Full" operation, the output JSON typically contains confirmation or status information about the full deletion of the specified user, including removal from the database, S3 storage, and logout actions.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the DinastiAPI Admin API.
- The node makes HTTP requests to the DinastiAPI server using the provided admin token and base URL.
- Proper network access to the DinastiAPI endpoint is necessary.
Troubleshooting
- Invalid User ID: If the user ID does not exist or is malformed, the API may return an error. Ensure the user ID is correct.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key credential is correctly configured.
- Network Issues: Connectivity problems to the DinastiAPI server will cause request failures. Check network and firewall settings.
- JSON Parsing Error: For operations involving JSON input (like sending test events), invalid JSON will throw errors. Validate JSON syntax before input.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output.
Links and References
- DinastiAPI Official Documentation (hypothetical link)
- WhatsApp Business API Overview
- n8n HTTP Request Node documentation for understanding underlying HTTP calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/