.. function:: PUT /users/{uid}/appliances/{aid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.6
Updates the meta-data information of an appliance.
Please refer to :ref:`appliance-object` for a complete list of all the appliance
attributes.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of the :ref:`user-object`aid
(required): the id of the :ref:`appliance-object`
A :ref:`appliance-object` object
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}" -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:appliance xmlns:ns0="http://www.usharesoft.com/uforge">
<name>Appliance Example Updated</name>
<version>1.0Reloaded</version>
</ns0:appliance>
.. seealso:: * :ref:`appliance-object` * :ref:`applianceLogo-delete` * :ref:`applianceLogo-download` * :ref:`applianceLogo-downloadFile` * :ref:`applianceLogo-upload` * :ref:`applianceMySoftware-getAll` * :ref:`applianceProject-getAll` * :ref:`appliance-clone` * :ref:`appliance-create` * :ref:`appliance-delete` * :ref:`appliance-get` * :ref:`appliance-getAll` * :ref:`user-object`