Create a host group
POST {{baseUrl}}/api/v1/host-initiator-groups
Create a host group
Request Body
{"name"=>"host-group1", "userCreated"=>true, "comment"=>"host-group-comment", "hostIds"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "hostsToCreate"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"associatedLinks":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"associatedSystems":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"comment":"host-group-comment","consoleUri":"/data-ops-manager/host-initiator-groups/a8c087fa6e95dd22cdf402c64e4bbe61","customerId":"fc5f41652a53497e88cdcebc715cc1cf","editStatus":"Delete_Failed","generation":1627534116,"hosts":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"id":"d548ef683c27403e96caa51816ddc72c","markedForDelete":true,"name":"host-group1","systems":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"type":"host-initiator-group","userCreated":true}