applianceOSProfile_create

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

Adds a new OS profile to an appliance.

Refer to distribprofile-object for mandatory and optional parameters

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

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

HTTP Request Body Parameters

A distribProfile object

Example Request

curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/osprofile" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:distribProfile xmlns:ns0="http://www.usharesoft.com/uforge">
        <name>Minimal</name>
        <standardProfileUri>distributions/1/profiles/4</standardProfileUri>
</ns0:distribProfile>