Changes the parent task and the order of subtasks.

POST

Changes parent task and order of subtasks. If the parent task of a subtask changed, its lists, base type and entity will change to match the parent ones. It is not possible to change a task to subtask if the task already has subtasks.

Required Permissions: Any authenticated user.

Request

This endpoint expects a list of objects.
taskIdstringRequired
The id of the task.
parentIdstringRequired
The id of the parent task.
orderdoubleOptional
The order the subtask related to its parent.