Actions38
- Access List Actions
- Certificate Actions
- Dead Host Actions
- Log Actions
- Proxy Host Actions
- Redirection Host Actions
- Setting Actions
- User Actions
Overview
This node integrates with an Nginx Proxy Manager (NPM) instance, allowing users to manage various NPM resources programmatically. Specifically, for the User - Delete operation, it enables deleting a user account from the NPM system by specifying the user's ID. This is useful in scenarios where automated cleanup or management of user accounts is required, such as removing inactive users or managing access control dynamically.
Practical examples include:
- Automatically deleting users who no longer require access.
- Integrating user management into broader automation workflows that maintain your proxy server environment.
Properties
| Name | Meaning |
|---|---|
| ID | The unique numeric identifier of the user to delete. This property is required to specify which user account should be removed from the NPM instance. |
Output
The output of this node operation is a JSON array containing the response from the NPM API after attempting to delete the specified user. Typically, this will include confirmation of success or details about any error encountered.
Example output structure:
[
{
"success": true,
"message": "User deleted successfully"
}
]
If the node cannot perform the deletion, it may throw an error instead of returning a JSON response.
Dependencies
- Requires an active connection to an Nginx Proxy Manager instance.
- Needs credentials including the URL of the NPM instance and valid authentication details (email and password) to obtain an API token.
- The node uses the NPM API token to authenticate requests.
- Proper configuration of these credentials within n8n is necessary before using the node.
Troubleshooting
- Login failed: No token received: This error indicates that authentication with the NPM API failed. Verify that the provided email and password are correct and that the NPM instance is reachable.
- User not found or invalid ID: If the specified user ID does not exist, the API may return an error. Ensure the ID is correct and corresponds to an existing user.
- Network or connectivity issues: Confirm that the NPM instance URL is accessible from the n8n environment.
- Insufficient permissions: The authenticated user must have rights to delete users in NPM; otherwise, the operation will fail.
Links and References
- Nginx Proxy Manager GitHub Repository
- Nginx Proxy Manager API Documentation (if available)
- n8n Documentation on HTTP Request Node (for understanding underlying HTTP calls)