osTemplate_update¶
-
PUT /distributions/{id}/profiles/{prid}
Updates the meta-data information of an OS template.
Please refer to distribProfile for a complete list of all the OS template
attributes.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
org_os_profiles_administrate
URI Parameters¶
prid
(required): the id of the distribProfileid
(required): the id of the distribution
HTTP Request Body Parameters¶
A distribProfile object
Example Request¶
curl "https://uforge.example.com/api/distributions/{id}/profiles/{prid}" -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:distribProfile xmlns:ns0="http://www.usharesoft.com/uforge">
<description>This is an updated description</description>
<name>Template Example - Updated</name>
</ns0:distribProfile>