Delete one or more tags.
Click here for available operators
Using the NOT EQUALS operator for deleting tags could result in accidental deletion of unknown tags without any warning. To prevent accidental deletion of unknown tags, we do not support NOT EQUALS operator for delete actions.
Permissions required - Managers with full scope, other users must have these permissions: Access Permission “API Access” and Tag Permission “Delete User Tag”
API request
curl -u "USERNAME:PASSWORD" -H "content-type: text/xml" -X "POST" --data-binary @- "<qualys_base_url>/qps/rest/2.0/delete/am/tag/12345"
Response
<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="<qualys_base_url>/qps/xsd/2.0/am/tag.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<SimpleTag>
<id>12345</id>
</SimpleTag>
</data>
</ServiceResponse>
<responseCode>SUCCESS</responseCode>
<platform API server>/qps/xsd/2.0/am/tag.xsd