Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
REST API Version 16.0 References
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

POST /scanner/scanprofiles/{profileid}

date_range 04-Aug-21

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']}

Table 1: POST /scanner/scanprofiles/{profileid} resource details:

POST /scanner/scanprofiles/{profileid} resource details

MIME Type

application/json

Table 2: POST /scanner/scanprofiles/{profileid} request parameter details:

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:

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:

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

footer-navigation