# How to reset a collection (xano api) using javascript? to make it like it was never fetched yet

**URL:** <https://community.weweb.io/t/how-to-reset-a-collection-xano-api-using-javascript-to-make-it-like-it-was-never-fetched-yet/4228>\
**Category:** How do I?\
**Created:** [September 6, 2023, 2:03pm UTC](https://community.weweb.io/t/how-to-reset-a-collection-xano-api-using-javascript-to-make-it-like-it-was-never-fetched-yet/4228 "2023-09-06T14:03:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![foncy.sv](https://avatars.discourse-cdn.com/v4/letter/f/76d3ee/32.png) [@foncy.sv](https://community.weweb.io/u/foncy.sv)\
**Post date:** [September 6, 2023, 2:03pm UTC](https://community.weweb.io/t/how-to-reset-a-collection-xano-api-using-javascript-to-make-it-like-it-was-never-fetched-yet/4228/1 "2023-09-06T14:03:40Z")

</div>

Is there a way to reset a collection (xano api) using javascript to make it like it was never fetched yet?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 6, 2023, 2:26pm UTC](https://community.weweb.io/t/how-to-reset-a-collection-xano-api-using-javascript-to-make-it-like-it-was-never-fetched-yet/4228/2 "2023-09-06T14:26:40Z")

</div>

You could force it, but it’s by no mean a great idea. Why would you do that?
