.. function:: PUT /users/{uid}/appliances/{aid}/installProfile/{ipid}/groups/{osgid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.4
Updates an OS group registered in an install profile.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of the :ref:`user-object` that has created the applianceipid
(required): the id of the :ref:`installprofile-object`osgid
(required): the id of the :ref:`osgroup-object`aid
(required): the id of the :ref:`appliance-object`
A :ref:`osGroup-object` object
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/installProfile/{ipid}/groups/{osgid}" -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:osGroup xmlns:ns0="http://www.usharesoft.com/uforge">
<name>OS Group Example Updated</name>
<systemGroup>false</systemGroup>
</ns0:osGroup>
.. seealso:: * :ref:`installProfileGroup-create` * :ref:`installProfileGroup-delete` * :ref:`installProfileGroup-deleteAll` * :ref:`installProfileGroup-get` * :ref:`installProfileGroup-getAll` * :ref:`installProfileUser-create` * :ref:`installProfileUser-deleteAll` * :ref:`installProfileUser-get` * :ref:`installProfileUser-getAll` * :ref:`installProfileUser-update`