<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thank you,<div class=""><br class=""></div><div class="">To be clear, this means I need to run:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 217, 0); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">root@config:/opt/genieacs# curl -i '<a href="http://localhost:7557/devices/XXXX" class="">http://localhost:7557/devices/XXXX</a>' -X DELETE</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Where XXXX is the unique device_id for each of the devices in my ACS - is there any way I can make this a little easier, I have a few instances with 80 - 5000 devices in each.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Kris</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><div><blockquote type="cite" class=""><div class="">On Nov 1, 2016, at 3:49 PM, Oliver Kraitschy <<a href="mailto:okraits@arcor.de" class="">okraits@arcor.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello Kris,<br class=""><br class="">you have to iterate over all devices and send a delete request for each one<br class="">of them.<br class=""><br class="">You can use the API for that:<br class=""><br class=""><a href="https://github.com/zaidka/genieacs/wiki/API-Reference" class="">https://github.com/zaidka/genieacs/wiki/API-Reference</a><br class=""><br class="">Or you can do it more easily with the python API:<br class=""><br class="">https://github.com/TDT-GmbH/python-genieacs<br class=""><br class="">Greetings,<br class="">Oliver<br class=""><br class="">On Tue, Nov 01, 2016 at 12:24:41PM -0400, Kris Germann wrote:<br class=""><blockquote type="cite" class="">I find myself in the unique position of having tested too many devices, so I<br class="">have about 110 devices I need to delete...<br class=""><br class="">Is there a 'destroy all' function I could incorporate?<br class=""><br class=""></blockquote><br class=""><blockquote type="cite" class="">_______________________________________________<br class="">Users mailing list<br class="">Users@lists.genieacs.com<br class="">http://lists.genieacs.com/mailman/listinfo/users<br class=""></blockquote><br class="">_______________________________________________<br class="">Users mailing list<br class="">Users@lists.genieacs.com<br class="">http://lists.genieacs.com/mailman/listinfo/users<br class=""></div></div></blockquote></div><br class=""></div></body></html>