[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrms-appliance-config-api
Change Updates Repository
DescriptionChange the current Updates Repository.
Request
URLURL
https://{api_host}//appliance/update-manager/repository
Request Body
Request Body
UpdatesRepository
of mimetype application/json
Optional
{
"mounted_iso": false,
"password": "string",
"url": "string",
"username": "string"
}
boolean
mounted_iso
Optional
True if the appliance has a mounted ISO for updates. In this case - url, user name and password fields must be null.
string
password
Optional
Password for the update repository. If a user name is specified, a password is required as well.
string
url
Optional
Updates repository URL
string
username
Optional
User name for the update repository. If a user name is specified, a password is required as well.
Authentication
This operation uses the following authentication methods.
Errors
ResponseError
400
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
401
Unauthorized - the client must authenticate itself to get the requested response
ResponseError
403
Forbidden - not sufficient access rights to fulfill the request
ResponseError
500
Internal server error - unexpected condition prevents fulfilling the request
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"mounted_iso":false,"password":"string","url":"string","username":"string"}' https://{api_host}/appliance/update-manager/repository
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrms-appliance-config-api