Chuyển đến nội dung chính
POST
Create multiple targets in bulk

Tiêu đề

X-Workspace-Id
string

Workspace ID

Nội dung

application/json
targets
object[]
bắt buộc

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

Ví dụ:

Phản hồi

200 - application/json
created
object[]
bắt buộc

List of successfully created targets

skipped
string[]
bắt buộc

List of target values that were skipped (already exist)

Ví dụ:
totalRequested
number
bắt buộc

Total number of targets requested to create

Ví dụ:

10

totalCreated
number
bắt buộc

Total number of targets successfully created

Ví dụ:

8

totalSkipped
number
bắt buộc

Total number of targets skipped (duplicates)

Ví dụ:

2