Sign in

Set parent of task

documented

Set or change a task's parent.

POST /tasks/{task_gid}/set_parentTasksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://app.asana.com/api/1.0/tasks/{{$task_gid}}/setParent" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"data": {"parent": "{{$parent_gid}}", "insert_before": "{{$insert_before}}", "insert_after": "{{$insert_after}}"}}'
Set parent of task · Asana · OpenIntegrations