Patch Vcenter

Patch Vcenter

Patch fields of specified vCenter

Request
URI
PATCH
https://{api_host}/hybridity/api/ztp/v1/vcenters/{vcenter_id}
COPY
Path Parameters
string
vcenter_id
Required

The ID of the vCenter.


Request Body

The request payload for Patch vCenter API.

InlineZtpV1VcentersVcenter_idRequestBody of type(s) application/json
Required
{
    "id": "string",
    "version": 0,
    "vcenter": {
        "thumbprintSha256": "06:69:51:27:c6:bc:32:3e:02:a4:e4:3c:2e:9e:75:78:9e:b7:d4:9c:11:51:72:cc:c4:45:13:22:a4:36:f3:e5"
    }
}
string As uuid As uuid
id
Optional

The unique ID of the domain. This is optional when creating domains and required when updating domain(s) in the absence of domain ID as API Path Param. This field is required and cannot be updated during Domain Update.

integer
version
Optional

The version of this domain entity. This field must be specified during Domain Update.

object
vcenter
Required

The vCenter details

Authentication
This operation uses the following authentication methods.
Responses
200

The specified vCenter has been patched successfully.

Returns InlineZtpV1VcentersVcenter_id200Response 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.


301

API endpoint has permanently moved.

Returns InlineZtpV1VcentersVcenter_id301Response 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

Response may include details of why the request is bad.

Returns InlineZtpV1VcentersVcenter_id400Response 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

User is not authenticated to invoke this endpoint.

Operation doesn't return any data structure

403

User is not authorized to invoke this endpoint.

Operation doesn't return any data structure

404

The specified vCenter was not found.

Operation doesn't return any data structure

422

The request payload couldn't be processed by the server.

Returns InlineZtpV1VcentersVcenter_id422Response 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.


500

An internal server error has occurred.

Returns InlineZtpV1VcentersVcenter_id500Response 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.