ZAP API UI
Component: spider
Action: setOptionMaxDepth
Sets the maximum depth the spider can crawl, 0 for unlimited depth.
Output Format
JSON
JSONP
HTML
XML
apikey*
Form Method
GET
POST
Integer*