WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Tasks → Delete task (Stages)

AI-generated

Summary

Delete a stage task by specifying its stage, task, and job IDs, optionally configuring request behavior

Inputs

  • stageId (required) — Stage ID or stage number to target for deletion
  • id (required) — Task ID to delete
  • jobId (required) — Job ID associated with the task
  • requestOptions — Configuration for request-level settings such as batching and timeouts
  • allowUnauthorizedCerts — Whether to skip SSL certificate validation for the request
  • proxy — HTTP proxy URL to route the request through, including optional authentication
  • timeout — Maximum wait time in milliseconds for the server to respond before aborting

Output shape

no body — success/failure only

Returns HTTP 200 on successful deletion; errors are returned as an error object with status and message

Examples

Example 1: Delete a stage task by its IDs using default settings

stageId: '123', id: 'task-456', jobId: 'job-789'

Example 2: Delete a task with batching enabled

stageId: '123', id: 'task-456', jobId: 'job-789', requestOptions: {"batch": {"batchSize": 10}}

Example 3: Delete a task ignoring SSL errors

stageId: '123', id: 'task-456', jobId: 'job-789', allowUnauthorizedCerts: true

Links

Discussion