AnsweredAssumed Answered

API to remove all IPs in an Asset Group

Question asked by Max Max on May 25, 2018
Latest reply on May 29, 2018 by Sam Friday

Hi, I am using this API to remove IPs from an Asset Group

curl -u "name:psw" -H "X-Requested-With: Curl" -X "POST" -d "id=123456&remove_ips=" ""
Is there a API to remove all the IPs in an asset group? 
I tried remove_ips= but I get the error "One or more IPs are no longer associated with this subscription"
I know I can cancel and recreate the another asset group, but the API needs the Asset Group id and change it would be troublesome.