Delete Task
ms_todo.delete_task
ActionBusiness appsconnection required
Calls the Microsoft To Do API with the connection's credentials.
Delete a task from a list.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Microsoft To Do
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"} with the Tasks.ReadWrite delegated scope
- Config it needs
- tenant
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 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 |
|---|---|---|---|---|---|
list_id The task list id, from ms_todo.list_task_lists or ms_todo.create_task_list. | string | Yes | — | — | — |
task_id The task id, from ms_todo.list_tasks or ms_todo.create_task. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
deleted True when Graph accepted the delete. | boolean | — |
task_id The task id that was deleted. | string | — |
{
"deleted": false,
"task_id": ""
}Related Microsoft To Do nodes
See Delete Task run in a workflow.
In a technical demo we add the Microsoft To Do connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.