Remove Clusters Depot Overrides
Released in v7.0.0Removes a depot override from the list of currently configured depot overrides for a given cluster. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Write. - The resource ClusterComputeResource referenced by the parameter cluster requires VcIntegrity.lifecycleSettings.Write.
Request
URLURL
https://{api_host}/api/esx/settings/clusters/{cluster}/depot-overrides?action=remove
Parameters
Parameters
string
cluster
Required
Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.
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
SettingsClustersDepotOverridesDepot of type application/json (required){
"location": "string"
}
string
location
Required
Location of the depot override. This could be a location of zip file or location to an index.xml file.
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"location":"string"}' https://{api_host}/api/esx/settings/clusters/{cluster}/depot-overrides?action=remove
Errors
404
com.vmware.vapi.std.errors.not_found : If there is no depot override with given information or no cluster associated with identifier {param.name cluster} 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.