PUT
/
api
/
targets
/
{targetId}
curl --request PUT \
  --url https://api.novasec.io/api/targets/{targetId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "targetName": "Example",
  "target": "example.com",
  "addr": "192.168.1.1-254,...",
  "cidr": "192.168.1.0/24,...",
  "scope": "example.com,*.example.com,...",
  "outOfScope": "app-stg.example.com,...",
  "scopeHeaders": "X-Header: test;; Cookies: SESS_ID=eyJ...",
  "delay": 123
}'

Authorizations

X-API-Key
string
headerrequired

Path Parameters

targetId
string
required

Body

application/json
targetName
string
target
string
addr
string
cidr
string
scope
string
outOfScope
string
scopeHeaders
string
delay
integer