Validate Host

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

InlineZtpHostValidatorRequestBody of type(s) application/json
Required
{
    "hosts": [
        {
            "hostname": "string",
            "username": "string",
            "password": "string",
            "domain_name": "string",
            "ipmi_fqdn": "string",
            "ipmi_username": "string",
            "ipmi_password": "string",
            "validate_ipmi_creds": false
        }
    ]
}
array of object
hosts
Optional

list of stage and each stage describing the validation state for that stage

Authentication
This operation uses the following authentication methods.
Responses
200

Response with Host validation acceptance

Returns InlineZtpHostValidator200Response of type(s) application/json
{
    "hosts": [
        {
            "hostname": "string",
            "validation_accepted": false,
            "message": "string"
        }
    ]
}
array of object
hosts
Optional

list of stage and each stage describing the validation state for that stage


301

API endpoint has permanently moved.

Returns InlineZtpHostValidator301Response 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 received.

Returns InlineZtpHostValidator400Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

500

An Internal Server Error has occurred.

Returns InlineZtpHostValidator500Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.