Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 1.83 KB

installProfileGroup_update.rst

File metadata and controls

67 lines (46 loc) · 1.83 KB

installProfileGroup_update

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.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object that has created the appliance
  • ipid (required): the id of the installprofile-object
  • osgid (required): the id of the osgroup-object
  • aid (required): the id of the appliance-object

HTTP Request Body Parameters

A osGroup-object object

Example Request

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>
  • installProfileGroup-create
  • installProfileGroup-delete
  • installProfileGroup-deleteAll
  • installProfileGroup-get
  • installProfileGroup-getAll
  • installProfileUser-create
  • installProfileUser-deleteAll
  • installProfileUser-get
  • installProfileUser-getAll
  • installProfileUser-update