Magidoc

moveBox
Mutation

Moves a box, together with all of its todos, to another slice of the same project; cross-project moves are rejected with not_allowed. position sets the box's position in the destination slice. If the destination slice had loose todos and no boxes, a box titled "(Rename Box)" is created automatically to hold them. Requires permission to create todos in the project. Returns a list with the moved box, plus the auto-created box when one was made.

Arguments

#

id

Non-null

position

Non-null

sliceId

Non-null

Destination slice id; must belong to the same project as the box.

Response

#

Returns [Box ].

Example

#