Перейти к основному содержанию
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