PUT /distributions/{id}/profiles/{prid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.6
Updates the meta-data information of an OS template.
Please refer to distribprofile-object
for a complete list of all the OS template
attributes.
- Requires Authentication:
true
- Entitlements Required:
org_os_profiles_administrate
prid
(required): the id of thedistribprofile-object
id
(required): the id of thedistribution-object
A distribProfile-object
object
curl "https://uforge.example.com/api/distributions/{id}/profiles/{prid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:distribProfile xmlns:ns0="http://www.usharesoft.com/uforge">
<description>This is an updated description</description>
<name>Template Example - Updated</name>
</ns0:distribProfile>
appliance-object
distribprofile-object
distribution-object
linuxprofile-object
osTemplatePkgs-get
osTemplate-create
osTemplate-delete
osTemplate-get
osTemplate-getAll
windowsprofile-object