Validate Host
Executes Validation for the list of hosts with credentials given.
Request
URI
POST
https://{api_host}/hybridity/api/ztp/host/validator
COPY
Request Body
List of hosts FQDN OR HOSTNAME with Creds
validateHostRequest of type(s) application/json
Required
{
"hosts": [
{
"hostname": "string",
"username": "string",
"password": "string",
"domain_name": "string"
}
]
}
array of validateHostData
hosts
Optional
list of stage and each stage describing the validation state for that stage
Responses
200
Response with Host validation acceptance
Returns validateHostResponse of type(s) application/json
{
"hosts": [
{
"hostname": "hostname",
"validation_accepted": true,
"message": "message"
},
{
"hostname": "hostname",
"validation_accepted": true,
"message": "message"
}
]
}
array of validateHostResponseData
hosts
Optional
list of stage and each stage describing the validation state for that stage
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"
}
]
}