Delete User API

Use this API to delete a user in the API user’s scope.

POST /qps/rest/1.0/delete/saq/user/

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" 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> 

XSDXSD

<platform API server>/qps/xsd/1.0/saq/user.xsd

See Delete users (bulk)