Is there a way to convert an existing task to a subtask of another task? It works with dragging and dropping I wanted to know how to do that via the API.
Thanks.
The Parent field of a task is read-only and can not be modified via the API.
As per Asana API Documentation: https://asana.com/developers/api-reference/tasks