# Delete Task.. then What happened to their subtasks?

**URL:** <https://forum.asana.com/t/delete-task-then-what-happened-to-their-subtasks/165634>\
**Category:** API & Developers\
**Tags:** tasks\
**Created:** [20 May 2022 01:10 UTC](https://forum.asana.com/t/delete-task-then-what-happened-to-their-subtasks/165634 "2022-05-20T01:10:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yamashita](https://luna1.co/8d76cd.png) [@yamashita](https://forum.asana.com/u/yamashita)\
**Post date:** [20 May 2022 01:10 UTC](https://forum.asana.com/t/delete-task-then-what-happened-to-their-subtasks/165634/1 "2022-05-20T01:10:04Z")

</div>

Hi.  
I delete the task the task has some subtasks via Asana API.  
Now are the subtasks also has been deleted?

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [20 May 2022 03:38 UTC](https://forum.asana.com/t/delete-task-then-what-happened-to-their-subtasks/165634/2 "2022-05-20T03:38:47Z")

</div>

Hi @yamashita,

I’m pretty sure they do not get deleted in this case. But they are essentially “orphaned”, because they do not by default belong to any projects and now have no valid `parent`, so you’d have to find them by using their `gid` or other search means.

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [22 November 2023 19:39 UTC](https://forum.asana.com/t/delete-task-then-what-happened-to-their-subtasks/165634/3 "2023-11-22T19:39:21Z")

</div>

Split this topic on 22 November 2023 19:39 UTC

6 posts were split to a new topic: [Delete task - subtasks don’t get deleted](https://forum.asana.com/t/delete-task-subtasks-dont-get-deleted/613943)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 18:54 UTC](https://forum.asana.com/t/delete-task-then-what-happened-to-their-subtasks/165634/4 "2025-05-30T18:54:55Z")

</div>

Closed on 30 May 2025 18:54 UTC


