ON THIS PAGE
POST /scanner/scanprofiles/{profileid}
SUMMARY 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']}
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
profileid |
path |
Required |
String |
text/plain |
The unique id of the scan profile used to update |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
scanProfile |
JSON |
application/json |
null |
null |
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.