Delete Task
onfleet.delete_task
ActionBusiness appsconnection required
Calls the Onfleet API with the connection's credentials.
Delete a task that has not yet started or been completed.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Onfleet
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
task_id The Onfleet id of the task to delete. | string | Yes | — | — | qNMz6CKwQ*26FOslywsiQxhY |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"task_id": "qNMz6CKwQ*26FOslywsiQxhY"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
deleted True once Onfleet has accepted the deletion. | boolean | — |
task_id The id of the task that was deleted. | string | — |
{
"deleted": false,
"task_id": ""
}Notes
- Onfleet refuses to delete a task that is already active or completed.
Related Onfleet nodes
See Delete Task run in a workflow.
In a technical demo we add the Onfleet connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.