Delete User API
Use this API to delete a user in the API user’s scope.
Permissions
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.
Input ParametersInput Parameters
The id (Long) element is required to identify the user of interest. Other elements are optional.
Sample - Delete a UserSample - Delete a User
API Request
curl -u "<username>:<password>"
-X "GET"
-H "Content-Type: text/xml" <qualys_base_url>/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="<qualys_base_url>/qps/xsd/1.0/saq/user.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<User>
<id>401990</id>
</User>
</data>
</ServiceResponse>
XSDXSD
<platform API server>/qps/xsd/1.0/saq/user.xsd