POST
/
v1
/
scans
/
config
curl --request POST \
  --url https://api.projectdiscovery.io/v1/scans/config \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "config": "<string>",
  "config_type": "scan",
  "name": "<string>",
  "global": true
}'
{
  "id": "<string>",
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team

Body

application/json
config
string
required
name
string
required
config_type
enum<string>
Available options:
scan,
reporting,
template,
alerting,
cloudlist
global
boolean

Response

200
application/json
Example response
message
string
required
id
string