How to clear all CPE

Alfred George a.george at team.wantok.vu
Tue Jan 16 19:06:04 EST 2018


${device_ID} is my variable run in while loop…
my code will:
- collect device ID store in txt file
- while read line txt file and delete each device 

 

Alfred G 




 

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

 

Because ${device_ID} is a placeholder. You need to put an actual value there.

 

-dan

 

On Tue, Jan 16, 2018 at 1:20 PM, Alfred George <a.george at team.wantok.vu <mailto:a.george at team.wantok.vu> > wrote:

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

I run this but nothing happen.

 

Thanks

Alfred

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


More information about the Users mailing list