Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.7 KB

appliance_update.rst

File metadata and controls

70 lines (48 loc) · 1.7 KB

appliance_update

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 appliance-object for a complete list of all the appliance attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • aid (required): the id of the appliance-object to delete

HTTP Request Body Parameters

A appliance-object object

Example Request

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>
  • appliance-object
  • applianceLogo-delete
  • applianceLogo-download
  • applianceLogo-downloadFile
  • applianceLogo-upload
  • applianceMySoftware-getAll
  • applianceProject-getAll
  • appliance-clone
  • appliance-create
  • appliance-delete
  • appliance-get
  • appliance-getAll
  • user-object