Actions41
- Alarm Actions
- Alarm Category Actions
- Data Collection Actions
- Event Template Actions
- Find Actions
- Object Actions
- Scheduled Task Actions
- Server Actions
- User Actions
Scheduled Task → Delete
AI-generatedSummary
Deletes a server-side scheduled task in NetXMS by its numeric ID and returns a simple success confirmation.
Inputs
- Task ID (required) — Numeric ID of the scheduled task to delete. Sent in the request path as DELETE /v1/scheduled-tasks/{taskId}.
Output shape
One JSON item per input item: { "success": true, "taskId":
The API's own response body is discarded; the confirmation object is built by the node. The node logs in to NetXMS for a session token at the start of each execution. If the request fails (for example the task doesn't exist or permissions are lacking), the node throws an error, or emits an item with an
errormessage when Continue On Fail is enabled.
Examples
Example 1: Remove a one-off maintenance task after it has been handled.
Resource: Scheduled Task; Operation: Delete; Task ID: 42
Example 2: Clean up tasks found by an earlier Get Many step.
Resource: Scheduled Task; Operation: Delete; Task ID set by expression {{ $json.id }}