Update PC option profile



Update a PC option profile for compliance scans (using SCA or PC) in the user's account.

Permissions - A Manager will be able to update option profiles in the subscription. A Unit Manager will be able to update option profiles owned by users in their business unit.

Note: The update PC option profile API is available as part of one of the following subscription combinations only:
- PC and API add-on
- PC, SCA, and API add-on
- VMDR, SCA, and API add-on

Input Parameters






(Optional) Specify 1 to view (echo) input parameters in the XML output. By default these are not included.


(Required) The ID of option profile to update.


For the list of optional parameters, see input parameters for Create PC option profile.

Sample - Update PC option profile

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With:curl" -X POST

"action=update&title=pc-jp&id=51491401" "http://qualysapi.qualys.com/api/2.0/fo/subscription/option_profile/pc/"

XML output

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE SIMPLE_RETURN SYSTEM "http://qualysapi.qualys.com/api/2.0/simple_return.dtd">




    <TEXT>Compliance Option profile successfully updated.</TEXT>











<platform API server>/api/2.0/simple_return.dtd