# Deleting old CPEs

**URL:** <https://forum.genieacs.com/t/deleting-old-cpes/1914>\
**Category:** Uncategorized\
**Created:** [August 4, 2021, 8:51am UTC](https://forum.genieacs.com/t/deleting-old-cpes/1914 "2021-08-04T08:51:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tajo](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tajo](https://forum.genieacs.com/u/tajo)\
**Post date:** [August 4, 2021, 8:51am UTC](https://forum.genieacs.com/t/deleting-old-cpes/1914/1 "2021-08-04T08:51:03Z")

</div>

Am i missing something or there’s no option to delete “old” CPEs automatically?

I would like to automatically delete all CPEs which didnt connect to ACS for a month or something

---

<div class="post-metadata">

**Author:** ![JonasGhost](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/jonasghost/32/286_2.png) [@JonasGhost](https://forum.genieacs.com/u/JonasGhost)\
**Post date:** [August 4, 2021, 10:06am UTC](https://forum.genieacs.com/t/deleting-old-cpes/1914/2 "2021-08-04T10:06:30Z")

</div>

Over the UI to filter that and then delete 200 devices at a time.

Or you could create a script/cronjob to search for the old devices and the go throw every entry and delete it over the api.  
[http://docs.genieacs.com/en/latest/api-reference.html](http://docs.genieacs.com/en/latest/api-reference.html)
