appliance_clone

POST /users/{uid}/appliances/{aid}/clones

Creates a new appliance by cloning all the meta-data of an existing appliance.

A new appliance name and version is required for the new appliance

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the id of the user
  • aid (required): the id of the appliance to update

HTTP Request Body Parameters

A appliance object

Example Request

curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/clones" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: 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 Clone Example</name>
        <orgUri>orgs/1</orgUri>
        <projects></projects>
        <version>1.0</version>
</ns0:appliance>