ZAP API UI
Component: pscan
Action: setScanOnlyInScope
Sets whether or not the passive scan should be performed only on messages that are in scope.
Output Format
JSON
JSONP
HTML
XML
apikey*
Form Method
GET
POST
onlyInScope*
The scan state, true or false.