installProfileGroup_create

POST /users/{uid}/appliances/{aid}/installProfile/{ipid}/groups

Adds a new OS group in an install profile.

Refer to osGroup for the mandatory and optional attributes.

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
  • ipid (required): the id of the installProfile
  • aid (required): the id of the appliance

HTTP Request Body Parameters

A osGroup object

Example Request

curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/installProfile/{ipid}/groups" -X POST \
-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:osGroup xmlns:ns0="http://www.usharesoft.com/uforge">
        <groupIdAuto>true</groupIdAuto>
        <name>OS Group Example</name>
        <systemGroup>true</systemGroup>
</ns0:osGroup>