Delete Hosts

Delete Hosts

Delete hosts

Request
URI
POST
https://{api_host}/hybridity/api//ztp/domains/{domain_name}/deletehosts
COPY
Path Parameters
string
domain_name
Required

Domain Name


Request Body
hostsDeleteRequest of type(s) application/json
Required
{
    "hosts": [
        {
            "name": "string",
            "wipeDisks": false
        }
    ]
}
hosts
Optional

hosts

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully deleted host.

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

warnings

array of error
errors
Optional

errors


400

Bad Request

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

warnings

array of error
errors
Optional

errors


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": [
        {
            "message": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors