cURL
curl --request POST \ --url https://api.projectdiscovery.io/v1/scans/schedule \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "targets": [ "<string>" ], "templates": [ "<string>" ], "assets": [ "<string>" ], "private_templates": [ { "name": "<string>", "contents": "<string>" } ], "scan_id": "<string>", "scan_frequency": "daily", "recommended": true, "all": true }'
{ "message": "<string>" }
set a scan schedule for a user
The body is of type object.
object
Example response
The response is of type object.
Was this page helpful?