Target Definitions
Import hosts by target
Import hosts for a target definition
PUT
/
api
/
targets
/
{targetId}
/
import
Authorization
Path
Body
curl --request PUT \
--url https://api.novasec.io/api/targets/{targetId}/import \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '{
"hosts": [
"example.com",
"www.example.com",
"..."
]
}'
Authorizations
X-API-Key
string
headerrequiredPath Parameters
targetId
string
requiredBody
application/json
hosts
any[]
curl --request PUT \
--url https://api.novasec.io/api/targets/{targetId}/import \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '{
"hosts": [
"example.com",
"www.example.com",
"..."
]
}'