PUT /users/{uid}/appliances/{aid}/installProfile/{ipid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 1.0
Updates an installation profile for an appliance.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of theuser-object
that has created the applianceipid
(required): the id of theinstallprofile-object
aid
(required): the id of theappliance-object
A installProfile-object
object
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/installProfile/{ipid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:installProfile xmlns:ns0="http://www.usharesoft.com/uforge">
<firewallAuto>true</firewallAuto>
<firewallEnabled>false</firewallEnabled>
<internetSettingsAuto>true</internetSettingsAuto>
<keyboard>ar-azerty</keyboard>
<keyboardAuto>false</keyboardAuto>
<partitionAuto>true</partitionAuto>
<rootUser>
<disablePasswordLogin>false</disablePasswordLogin>
<encrypted>false</encrypted>
<fullName>root</fullName>
<name>root</name>
<password>example</password>
<passwordAuto>true</passwordAuto>
</rootUser>
<timezone>Europe/London</timezone>
<timezoneAuto>true</timezoneAuto>
</ns0:installProfile>
appliance-object
applianceinstallusersandgroups-api-resources
appliancepartitiontabledisk-api-resources
installProfile-get
installprofile-object
osgroup-object
osuser-object