cURL
curl --request PATCH \ --url https://api.projectdiscovery.io/v1/scans/{scan_id}/config \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "targets": [ "<string>" ], "assets_lists": [ "<string>" ], "templates": [ "<string>" ], "early_templates": [ "<string>" ], "scan_config_ids": [ "<string>" ], "report_config_ids": [ "<string>" ], "alerting_config_ids": [ "<string>" ], "enumeration_ids": [ { "id": "<string>" } ] }'
{ "ok": true }
Update scan metadata config
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Update type: append or replace
append
replace
OK
The response is of type object.
object
Was this page helpful?