Skip to main content
POST
/
api
/
v1
/
user
/
scan-policy
Update Scan Policy
curl --request POST \
  --url https://vulnix0.com/api/v1/user/scan-policy \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "policy": {
    "ports_to_scan": [
      80,
      443,
      8080
    ],
    "directory_enumeration": true,
    "vhost_enumeration": false
  }
}'
{
  "status": "success",
  "message": "Scan policy updated successfully"
}

Authorizations

api-key
string
header
required

A unique API Key.

Body

application/json
policy
object
required

Response

200 - application/json

Scan policy updated

status
string
Example:

"success"

message
string
I