Set dependents for a task
POST
/tasks/{task_gid}/addDependents
Tasks
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.asana.com/api/1.0/tasks//addDependents' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"dependents": [
"133713",
"184253"
]
}
}'
Response Response Example
200 - Example 1
{
"data": [
{
"gid": "12345",
"resource_type": "task",
"name": "Bug Task"
}
]
}
Request
Path Params
task_gid
string
required
Body Params application/json
Responses
Modified at 2022-09-13 02:00:32