VCenter Connections List Removal Hosts

VCenter Connections List Removal Hosts
Hosts of a durable removal

Pages the hosts of a removal, hosts needing attention first, then by host key. Requires the ADMIN, SECURITY_OPERATOR or AUDITOR role.

Request
URI
GET
https://{api_host}/api/v1/vcenter-connections/removals/{operationId}/hosts
COPY
Path Parameters
integer
operationId
Required  

Removal operation id

operationId example
7
Query Parameters
integer
page
Optional
Constraints: minimum: 0 default: 0

Zero-based page number

integer
pageSize
Optional
Constraints: minimum: 1 maximum: 200 default: 50

Rows per page

pageSize example
50

Authentication
This operation uses the following authentication methods.
Responses
200

200 OK: one page of hosts

Returns VCenterRemovalHostPage of type(s) application/json
{
    "items": [
        {
            "hypervisorPk": 11,
            "hostname": "esx-11.example.com",
            "state": "FAILED_RETRYABLE",
            "resultCode": "UNCONFIRMED",
            "remoteEvidence": "NONE",
            "intendedAgentId": "42",
            "attempts": 2,
            "addedLate": false,
            "finishedAt": "2026-01-15T09:41:00Z",
            "nextAction": "Retry Removal. If the host cannot be reached, Reset and Recover it once it is reachable."
        }
    ],
    "page": 0,
    "pageSize": 50,
    "totalItems": 1
}
array of object
items
Required  

Hosts on this page

integer As int32 As int32
page
Required  

Zero-based page number returned

integer As int32 As int32
pageSize
Required  

Rows per page used

integer As int64 As int64
totalItems
Required  

Hosts the operation tracks in all


400

400 Bad Request: INVALID_PAGINATION when page or pageSize is out of range; INVALID_ARGUMENT when the operation id is not a number

Returns ApiErrorResponse of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


401

401 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked

Returns Unauthenticated of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


404

404 Not Found: REMOVAL_NOT_FOUND

Returns ApiErrorResponse of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/vcenter-connections/removals/{operationId}/hosts