Delete Configuration Profile
Delete a configuration profile in the user’s account.
Where “id” (Required) is the ID of the configuration profile to be deleted.
Permissions required - Managers with full scope. Other users must have these permissions: Access Permission “API Access” and CA Configuration Profile Permission “Edit Configuration Profile”.
Input ParametersInput Parameters
There are no input parameters.
Sample - Delete configuration profileSample - Delete configuration profile
API request
curl -u fo_username:password -X POST -H "Content-Type: text/xml" -H "Cache-Control: no-cache" --data-binary @delete_config.xml
"<qualys_base_url>/qps/rest/1.0/delete/ca/agentconfig/9000"
Note: “delete_config.xml” contains the request POST data.
Contents of delete_config.xml
<?xml version="1.0" encoding="UTF-8" ?>
<ServiceRequest></ServiceRequest>
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/1.0/ca/agentconfig.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<AgentConfig>
<id>9000</id>
</AgentConfig>
</data>
</ServiceResponse>
XSD
<platform API server>/qps/xsd/1.0/ca/agentconfig.xsd