Skip to main content
POST
Create multiple targets in bulk

Headers

X-Workspace-Id
string

Workspace ID

Body

application/json
targets
object[]
required

Array of target values to create. Supports DOMAIN (root domain), CIDR (/24 range only), and IP (single IP address) types.

Example:

Response

200 - application/json
created
object[]
required

List of successfully created targets

skipped
string[]
required

List of target values that were skipped (already exist)

Example:
totalRequested
number
required

Total number of targets requested to create

Example:

10

totalCreated
number
required

Total number of targets successfully created

Example:

8

totalSkipped
number
required

Total number of targets skipped (duplicates)

Example:

2