/hosts

Mount Point: /api/v10/hosts

The following operations are supported on this resource:

POST

Create one or more hosts.

You must specify at least the hostname and ipAddress in the request objects. If no hostId is specified, it will be set to the hostname. It is an error to try and create host with the same hostId as another host.

Request Body

element: hostList

The list of hosts to create

Response Body

element: hostList

The newly created host objects

GET

Returns the hostIds for all hosts in the system.

Parameters

name description type default
view The view to materialize query summary

Response Body

element: hostList

A list of hostIds

DELETE

Delete all hosts in the system

Response Body

element: hostList

The list of deleted hosts