Magidoc

undoDeleteSlice
Mutation

Restore a slice previously removed with deleteSlice. The slice itself is always restored; in addition, exactly the boxes listed in boxIds and the tasks listed in todoIds are restored, so pass back the ids affected by the original deleteSlice call. Both lists are required in practice — use empty lists to restore the slice alone. The deleteTodos, deleteSlice, and deleteBoxes arguments are accepted for symmetry with deleteSlice but ignored. Requires the same permission as deleteSlice. Returns the restored slice.

Arguments

#

boxIds

[Int ]

deleteBoxes

deleteSlice

deleteTodos

id

Non-null

todoIds

[Int ]

Response

#

Returns Slice .

Example

#