REST API - update

vcenter lcm discovery associated products: update

Modifies a VMware product associated with vCenter Server which was added manually. Automatically discovered VMware products cannot be modified.

Request:

HTTP request

PATCH https://{server}/api/vcenter/lcm/discovery/associated-products/{product}
{
    "deployments"[
        "string",
        "string"
    ]
}

Path Parameters

Name Type Description
Required
product string An id of the product to be modified.

Body Parameters:

Name Type Description
bold = required
- update_spec
-.deployments string[] The list of hostname/IPs of the instances of the VMware products deployed in the environment.

Optional.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
401 unauthenticated if the user can not be authenticated.
400 invalid_argument if the spec argument is not allowed
404 not_found If there is no record associated with product in the system.
500 error If there is some unknown internal error. The accompanying error message will give more details about the failure.