partitionTableDiskLogicalPartition_update

PUT users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/disks/{did}/partitions/{pid}/lpartitions/{lpid}

Updates a logical partition information in a physical partition.

Please refer to partition for a complete list of all the partition 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
  • pid (required): the id of the partition
  • ptid (required): the id of the partitionTable
  • aid (required): the id of the appliance
  • lpid (required): the id of the logical partition
  • did (required): the id of the disk

HTTP Request Body Parameters

A partition object

Example Request

curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/disks/{did}/partitions/{pid}/lpartitions/{lpid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

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

<ns0:partition xmlns:ns0="http://www.usharesoft.com/uforge">
        <name>logicalPartition1Updated</name>
        <mpoint>/data</mpoint>
        <size>2048</size>
        <label>/data2</label>
        <fstype>ext4</fstype>
</ns0:partition>