tasks.tasks.move
Moves a task within its current list or to another task list, optionally changing its parent or sibling position.
Instructions
Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: clear, delete, get, insert, list, patch, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | [URL path segment] Task identifier. | |
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| parent | No | [query parameter] Optional. New parent task identifier. If the task is moved to the top level, this parameter is omitted. The task set as parent must exist in the task list and c | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| previous | No | [query parameter] Optional. New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. The task set as previo | |
| tasklist | Yes | [URL path segment] Task list identifier. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| destinationTasklist | No | [query parameter] Optional. Destination task list identifier. If set, the task is moved from tasklist to the destinationTasklist list. Otherwise the task is moved within its curr |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| due | No | ||
| etag | No | ||
| kind | No | ||
| links | No | ||
| notes | No | ||
| title | No | ||
| hidden | No | ||
| parent | No | ||
| status | No | ||
| deleted | No | ||
| updated | No | ||
| position | No | ||
| selfLink | No | ||
| completed | No | ||
| webViewLink | No | ||
| assignmentInfo | No |