PUT /orgs/{oid}/workspaces/{wid}/templates/{tid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.3.2
Updates the information of an appliance template in a workspace.
Please refer to gallerytemplate-object
for a complete list of all the template
attributes.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
wid
(required): the id of theworkspace-object
oid
(required): the id of theorg-object
tid
(required): the id of thegallerytemplate-object
A galleryTemplate-object
object
curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/templates/{tid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:galleryTemplate xmlns:ns0="http://www.usharesoft.com/uforge">
<name>Modified name</name>
<version>1.0</version>
<description>Example</description>
</ns0:galleryTemplate>
appliance-object
gallerytemplate-object
workspace-api-resources
workspace-object
workspaceTemplateInstallProfile-get
workspaceTemplateLogo-delete
workspaceTemplateLogo-download
workspaceTemplateLogo-upload
workspaceTemplateOSPkgs-get
workspaceTemplateProjects-get
workspaceTemplateShare-cancel
workspaceTemplateStats-get
workspaceTemplateStatus-get
workspaceTemplateStudio-get
workspaceTemplate-delete
workspaceTemplate-get
workspaceTemplate-getAll
workspaceTemplate-share
workspaceTemplate-vote
workspacetemplatecomments-api-resources