# Data table purging

**URL:** <https://forums.losant.com/t/data-table-purging/1463>\
**Category:** Feature Request\
**Created:** [January 23, 2019, 3:52pm UTC](https://forums.losant.com/t/data-table-purging/1463 "2019-01-23T15:52:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [January 23, 2019, 3:52pm UTC](https://forums.losant.com/t/data-table-purging/1463/1 "2019-01-23T15:52:59Z")

</div>

Would be nice to purge data from a data table without having to recreate it.  
Looks like the only way is through a workflow now.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [January 23, 2019, 3:59pm UTC](https://forums.losant.com/t/data-table-purging/1463/2 "2019-01-23T15:59:45Z")

</div>

it would also be nice to import a table definition

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [January 24, 2019, 5:33pm UTC](https://forums.losant.com/t/data-table-purging/1463/3 "2019-01-24T17:33:43Z")

</div>

You’re correct. The API does have a “truncate” call, which is exposed in the workflow. There’s already a ticket to add a button to the UI. I’ll bump that ticket.

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [June 17, 2020, 3:59pm UTC](https://forums.losant.com/t/data-table-purging/1463/4 "2020-06-17T15:59:01Z")

</div>

Hey @Lars_Andersson,

I wanted to let you know that there is now a feature that allows you to purge data from a Data Table.

You can do so by clicking the menu button on the right side of the Data Table:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/d/db573b26c6257afd492eb825c60d5267480edcb1.png)

And then selecting Delete Rows:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/2/26caf3af4e665a550605713d19f9675a39e2d2ef.png)

You’ll be greeted with this modal:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/9/9a34056d374fe98ab830ca3fce6e7ab3278a95b4.png)

Where you will be able to visualize the Query and acknowledge that this action will be permanent. You can read more about [Deleting Data Table Rows](https://docs.losant.com/data-tables/overview/#deleting-data-table-rows) in our docs!

Thank you,  
Heath
