POST /scanner/scanprofiles/{profileid}

Update a scan profile. The Scan Profile ID is required. The following information on a scan profile can be updated - name - description - ips eg {'name':'Updated Scan Profile', 'ips':['10.100.85.135']}

Table 1. POST /scanner/scanprofiles/{profileid} resource details
MIME Type

application/json

Table 2. POST /scanner/scanprofiles/{profileid} request parameter details
Parameter Type Optionality Data Type MIME Type Description

profileid

path

Required

String

text/plain

The unique id of the scan profile used to update

Table 3. POST /scanner/scanprofiles/{profileid} request body details
Parameter Data Type MIME Type Description Sample

scanProfile

JSON

application/json

null

null

Table 4. POST /scanner/scanprofiles/{profileid} response codes
HTTP Response Code Unique Code Description

202

The scan profile was successfully updated

500

1030

Occurs when an attempt is made to update a scan profile when certain conditions are not met, or when too many scan requests have been made

Response Description

A message to indicate whether the scan profile has updated or not.

Response Sample