Magidoc

deleteSlice
Mutation

Soft-delete a project slice and optionally its contents; reversible with undoDeleteSlice. The three booleans control the scope: deleteSlice: true deletes the slice itself, while false or omitted keeps the slice and only marks its content as deleted (clear-slice behavior). deleteTodos: true additionally soft-deletes all tasks in the slice, and deleteBoxes: true soft-deletes the slice's boxes — deleteBoxes only takes effect when deleteTodos is also true. Project progress is recalculated when tasks are deleted.

Requires task-create permission in the project: workspace "admin" role or a project role of "admin", "admin+autoassign", "member", or "member+invite". Returns the slice with its todos and boxes, which supplies the ids needed for undoDeleteSlice.

Arguments

#

deleteBoxes

deleteSlice

deleteTodos

id

Non-null

Response

#

Returns Slice .

Example

#