/api/v2/tasks/{id}/reposition

PATCH
Tasks • Tasks

Repositions a task

Description

Reorders a task within its task list. Pass move_before_id and/or move_after_id — the IDs of sibling tasks to position it relative to. When both are provided, the task is placed between them.

Set subtask: true to reorder within the parent task's subtask order instead of within the task list.

{
  "data": {
    "type": "tasks",
    "attributes": { "move_after_id": 5560100 }
  }
}
Loading parameters…
Loading request bodies…
Loading responses…