Actions41
- Alarm Actions
- Alarm Category Actions
- Data Collection Actions
- Event Template Actions
- Find Actions
- Object Actions
- Scheduled Task Actions
- Server Actions
- User Actions
User → Delete
AI-generatedSummary
Deletes a NetXMS user by numeric ID via the NetXMS REST API (DELETE /v1/users/{userId}) and returns a simple success confirmation.
Inputs
- User ID (required) — Numeric ID of the NetXMS user to delete. Defaults to 0, so set it explicitly. It is evaluated per input item, so expressions can map IDs from earlier nodes.
Output shape
One JSON item per input item: { success: true, userId:
The API response body is discarded, so no deleted-user details are returned. The node logs in with the credential's username and password to get a session token on each execution. If the request fails (e.g. user not found or insufficient permissions), the node throws an error, or emits { error: message } for that item when Continue On Fail is enabled.
Examples
Example 1: Remove an offboarded employee's NetXMS account using an ID from a previous lookup.
Resource: User; Operation: Delete; User ID: {{ $json.id }}
Example 2: Delete a specific temporary account with a known ID.
Resource: User; Operation: Delete; User ID: 42