Magidoc

deleteTodo
Mutation

Soft-deletes a todo and all of its subtasks: deletedAt is set and the records disappear from list queries, but they remain restorable with undoDeleteTodo (no retention limit). Any Jira link (jiraId) is cleared and is not restored on undo. This mutation never hard-deletes; the only hard-delete path for todos is the move flow (copyTodosFromLocation with copyTodosOptions.move: true).

Permission matches updateTodo (workspace admin, project admin, or assigned to the todo); inaccessible or unknown ids fail with not_found.

Returns TodoMutationPayload with the deleted todo (deletedAt set) and recalculated progress, slices, and boxes aggregates. To clear a whole slice or box at once use deleteTodos.

Arguments

#

id

Non-null

Response

#

Returns TodoMutationPayload .

Example

#