Use this API to delete a user in the API user’s scope.
User must have the Security Assessment Questionnaire (SAQ) module enabled, User must have API ACCESS permission, Output includes users within the API user's scope.
The id (Long) element is required to identify the user of interest. Other elements are optional.
API Request
curl -u "USERNAME:PASSWORD" -X "GET" -H "Content-Type: text/xml" https://<qualysbaseurl>/qps/rest/1.0/delete/saq/user/401990
Response
<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://<qualysbaseurl>/qps/xsd/1.0/saq/user.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<User>
<id>401990</id>
</User>
</data>
</ServiceResponse>
<platform API server>/qps/xsd/1.0/saq/user.xsd