PUT users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/subvolumes/{svid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.8.5
Updates the information of a btrfs subvolume.
Please refer to btrfssubvolume-object
for a complete list of all the logical volume
attributes.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of theuser-object
that created the appliancesvid
(required): the id of thebtrfssubvolume-object
ptid
(required): the id of thepartitiontable-object
aid
(required): the id of theappliance-object
A btrfsSubvolume-object
object
curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/subvolumes/{svid}" -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):
appliance-object
appliancepartitiontabledisk-api-resources
appliancepartitiontablediskpartition-api-resources
btrfssubvolume-object
partitionTableBtrfsSubvolume-create
partitionTableBtrfsSubvolume-delete
partitionTableBtrfsSubvolume-deleteAll
partitionTableBtrfsSubvolume-get
partitionTableBtrfsSubvolume-getAll
partitiontable-object