Actions41
- Alarm Actions
- Alarm Category Actions
- Data Collection Actions
- Event Template Actions
- Find Actions
- Object Actions
- Scheduled Task Actions
- Server Actions
- User Actions
Alarm Category → Delete
AI-generatedSummary
Deletes a NetXMS alarm category by its numeric ID via a DELETE request to /v1/alarm-categories/{categoryId}. Returns a simple success confirmation.
Inputs
- Category ID (required) — Numeric ID of the alarm category to delete. Defaults to 0, so set it to a real category ID. It is inserted into the request path.
Output shape
One JSON item per input item: { success: true, categoryId:
Each run logs in to the NetXMS server with the credentials and gets a fresh session token. If the request fails (for example, the category doesn't exist or permissions are missing), the node throws an error. With Continue On Fail enabled, it instead outputs { error:
} for that item.
Examples
Example 1: Remove an obsolete alarm category by a known ID
Resource: Alarm Category, Operation: Delete, Category ID: 12
Example 2: Delete categories listed by an earlier Get Many step
Resource: Alarm Category, Operation: Delete, Category ID set to the expression {{ $json.id }}