跳转到主要内容
POST
Create multiple targets in bulk

请求头

X-Workspace-Id
string

Workspace ID

请求体

application/json
targets
object[]
必填

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

示例:

响应

200 - application/json
created
object[]
必填

List of successfully created targets

skipped
string[]
必填

List of target values that were skipped (already exist)

示例:
totalRequested
number
必填

Total number of targets requested to create

示例:

10

totalCreated
number
必填

Total number of targets successfully created

示例:

8

totalSkipped
number
必填

Total number of targets skipped (duplicates)

示例:

2