Bulk Host Create

post

/api/v2/bulk/host_create/

This endpoint allows the client to create multiple hosts and associate them with an inventory. They may do this by providing the inventory ID and a list of json that would normally be provided to create hosts.

Request

Supported Media Types
Body ()
Root Schema : BulkHostCreate
Type: object
Show Source
Nested Schema : hosts
Type: array
Maximum Number of Items: 100000
List of hosts to be created, JSON. e.g. [{"name": "example.com"}, {"name": "127.0.0.1"}]
Show Source
Nested Schema : BulkHost
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Body ()
Root Schema : BulkHostCreate
Type: object
Show Source
Nested Schema : hosts
Type: array
Maximum Number of Items: 100000
List of hosts to be created, JSON. e.g. [{"name": "example.com"}, {"name": "127.0.0.1"}]
Show Source
Nested Schema : BulkHost
Type: object
Show Source
Back to Top