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.

FieldTypeRequiredDefaultConstraintsExample
list_id
The task list id, from ms_todo.list_task_lists or ms_todo.create_task_list.
stringYes———
task_id
The task id, from ms_todo.list_tasks or ms_todo.create_task.
stringYes———

Output

One shape.

result

FieldTypeExample
deleted
True when Graph accepted the delete.
boolean—
task_id
The task id that was deleted.
string—
{
  "deleted": false,
  "task_id": ""
}

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.