Delete Campaign API
Use this API to delete a campaign in the API user’s scope.
Permissions
The user must have the Security Assessment Questionnaire (SAQ) module enabled; the user must have API ACCESS, Access SAQ module, and Questionnaire Campaign Delete permissions. The campaign must be within the API user's scope.
Input ParameterInput Parameter
The id (Long) element is required.
Sample - Delete a CampaignSample - Delete a Campaign
API Request
curl -u "<username>:<password>" -H "content-type: text/xml" -X "POST"--data-binary @-
"<qualys_base_url>/qps/rest/1.0/delete/saq/questionnairecampaign/952401"
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/saq/questionnairecampaign.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<QuestionnaireCampaign>
<id>952401</id>
</QuestionnaireCampaign>
</data>
</ServiceResponse>
XSDXSD
<platform API server>/qps/xsd/1.0/saq/questionnairecampaign.xsd