Tasks

Repositions a task

Changed on

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 }
  }
}
patch/api/v2/tasks/{id}/reposition

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/tasks/{id}/reposition
  • Auth
    none declared

Path parameters

idstring required

ID

Request body

Example request

{
  "data": {
    "type": "tasks",
    "attributes": {
      "move_after_id": 555
    }
  }
}

Response

No Content

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      added the new required request property /

    • breaking

      request body became required

    • breaking

      the request property became required

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.