ZAP API UI
Component: pscan
Action: setEnabled
Sets whether or not the passive scanning is enabled (Note: the enabled state is not persisted).
Output Format
JSON
JSONP
HTML
XML
apikey*
Form Method
GET
POST
enabled*
The enabled state, true or false.