/tasks/{task_gid}/setParentSet the parent of a task
Updates the parent of a task by making it a subtask of another task or removing its existing parent. Supply parent and optionally use insert_before or insert_after to position the task among the parent's subtasks; those options cannot be used together and must identify subtasks of the parent.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
The new parent and optional position for the task.
A 400 is returned when parent is missing or the request is malformed, or when both insert_before and insert_after are supplied or an anchor is invalid. A 401 is returned when the authenticated user does not provide a valid authentication token, and a 403 is returned when the authenticated user lacks access or the tasks:write scope. A 404 is returned when the task or referenced object does not exist, and a 500 indicates a server error.