Endpoint: PUT /tasks/move

Body:

Response:

Moves a task or a set of tasks to a new position on a list. The sourceId can either be the id of the list that the tasks are on, or the id of the parent task when the taskIds are subtasks.

Example request:

curl -x PUT <https://api.height.app/tasks/move> \\
  -H "Authorization: api-key secret_1234" \\
  -H "Content-Type: application/json" \\
  -d '{"taskIds": ["0c364c36-1fcc-4f1d-a6f7-340ef931d2a0"], "taskId": {"intent": "end"}, "sourceId":"10e3583d-3a7e-465f-94a6-e33a6faeeb3b"}'