Set Depots Umds
Released in v7.0.0Sets or overwrites information about an UMDS software depot. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Write.
Request
URLURL
https://{api_host}/api/esx/settings/depots/umds
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
SettingsDepotsUmdsSetSpec of type application/json (required){
"location": "string"
}
string
location
Required
Location of the Depot. It should be the location to the index.xml for that depot.
string
description
Optional
Description of the Depot. If unset, the description will be empty.
boolean
enabled
Optional
Flag indicating whether or not this depot should be enabled. Disabling the depot doesn’t delete its cached metadata and payloads. It will not be refreshed next time depots are re-synced. If unset the depot will be enabled.
cURL Command
curl -X PUT -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"description":"string","enabled":false,"location":"string"}' https://{api_host}/api/esx/settings/depots/umds
Errors
404
com.vmware.vapi.std.errors.error : If there is some unknown internal error. The accompanying error message will give more details about the failure.