AnsweredAssumed Answered

API Remove IP from subscription

Question asked by Max Max on Apr 30, 2018
Latest reply on May 10, 2018 by Max Max

Hi, 

 

when I try to delete IPs from my subscription I run 

curl -u "ID:PSW" -H "content-type: text/xml" -X "POST" --data-binary @-https://qualysapi.qg2.apps.qualys.eu/qps/rest/2.0/delete/am/hostasset" < delete.xml
Then, I get the reply:

<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
espaceSchemaLocation="https://qualysapi.qg2.apps.qualys.eu/qps/xsd/2.0/am/hostas
set.xsd">
<responseCode>SUCCESS</responseCode>
<count>2</count>
<data>
<HostAsset>
<id>1111111</id>
</HostAsset>
<HostAsset>
<id>1222222</id>
</HostAsset>
</data>
</ServiceResponse>
however, I can still see those IPs in my subscription and in Asset Search. Strangely, I can't see them in Asset View...
Is there a way to get rid of those IPs?
Thanks

Outcomes