Add Hosts
Add provisioned hosts to the domain.
Request
URI
POST
https://{api_host}/hybridity/api/ztp/hosts
COPY
Header Parameters
string
apiKey
Optional
api key header parameter
Request Body
hostsAddRequest of type(s) application/json
Required
{
"hosts": [
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"wipeDisks": true,
"address": "address",
"preDeployed": true,
"ip": "ip",
"type": "type",
"password": "password",
"name": "name",
"vsanCache": "vsanCache",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"ipmiPassword": "ipmiPassword",
"ipmiUsername": "ipmiUsername",
"username": "username"
}
]
}
Responses
200
Successfully added host.
Returns response of type(s) application/json
{
"warnings": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
],
"errors": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
]
}
301
API endpoint has permanently moved.
Returns redirectResponse of type(s) application/json
{
"redirectURL": "string"
}
string
redirectURL
Optional
redirectURL
Response Headers
string
Location
URI where the client will find the new endpoint.
400
Bad Request
Returns response of type(s) application/json
{
"warnings": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
],
"errors": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
]
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
500
Internal Server Error
Returns response of type(s) application/json
{
"warnings": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
],
"errors": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
]
}