How to clear all CPE

Alfred George a.george at team.wantok.vu
Tue Jan 16 17:20:37 EST 2018


Hello Oliver,
can you confirm the API for deleting
curl -i 'http://localhost:7557/devices/${device_ID}' -X DELETE

I run this but nothing happen.

 

Thanks

Alfred

 

From: Users [mailto:users-bounces at lists.genieacs.com] On Behalf Of Dan Morphis
Sent: Tuesday, January 16, 2018 3:50 AM
To: Community support for GenieACS users <users at lists.genieacs.com>
Subject: Re: How to clear all CPE

 

You will need to write some code. First to pull the list of devices, and then to make a DELETE call with the ACS ID.

 

-dan

 

On Mon, Jan 15, 2018 at 2:58 AM, Alfred George <a.george at team.wantok.vu <mailto:a.george at team.wantok.vu> > wrote:

Thankyou Oliver, I have more than 200 devices how to I apply this.?

Thanks
Alfred

-----Original Message-----
From: Users [mailto:users-bounces at lists.genieacs.com <mailto:users-bounces at lists.genieacs.com> ] On Behalf Of Oliver
Kraitschy
Sent: Monday, January 15, 2018 8:01 PM
To: users at lists.genieacs.com <mailto:users at lists.genieacs.com> 
Subject: Re: How to clear all CPE

Hello,

you could use the REST API to get a list of all devices and issue a DELETE
request for each device:

https://github.com/genieacs/genieacs/wiki/API-Reference

Greetings,
Oliver

Am 15.01.2018 05:33, schrieb Alfred George:
> Iam just wondering is there any ways to clear all CPE  and let CPE to
> reconnect again.
>
> Thanks
>
> Alfred G
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com <mailto:Users at lists.genieacs.com> 
> http://lists.genieacs.com/mailman/listinfo/users

_______________________________________________
Users mailing list
Users at lists.genieacs.com <mailto:Users at lists.genieacs.com> 
http://lists.genieacs.com/mailman/listinfo/users

_______________________________________________
Users mailing list
Users at lists.genieacs.com <mailto:Users at lists.genieacs.com> 
http://lists.genieacs.com/mailman/listinfo/users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180117/f896c44e/attachment.html>


More information about the Users mailing list