Update Discovery Associated Products
Modifies a VMware product associated with vCenter Server which was added manually. Automatically discovered VMware products cannot be modified.
Request
URLURL
https://{api_host}/api/vcenter/lcm/discovery/associated-products/{product}
Parameters
Parameters
string
product
Required
An identifier of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Request Body
Request Body
LcmDiscoveryAssociatedProductsUpdateSpec of type application/json (required){
"deployments": [
"string"
]
}
array of
string
deployments
Optional
The list of hostname/IPs of the instances of the VMware products deployed in the environment.
cURL Command
curl -X PATCH -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"deployments":["string"]}' https://{api_host}/api/vcenter/lcm/discovery/associated-products/{product}
Errors
404
com.vmware.vapi.std.errors.not_found : If there is no record associated with product in the system. | com.vmware.vapi.std.errors.error : If there is some unknown internal error. The accompanying error message will give more details about the failure.