Skip to content

Latest commit

 

History

History
77 lines (56 loc) · 2.07 KB

installProfile_update.rst

File metadata and controls

77 lines (56 loc) · 2.07 KB

installProfile_update

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.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object that has created the appliance
  • ipid (required): the id of the installprofile-object
  • aid (required): the id of the appliance-object

HTTP Request Body Parameters

A installProfile-object object

Example Request

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