Apache CloudStack v4.9.0 Root Admin API Reference

updateTemplatePermissions

Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A priviledged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.

Request parameters

Parameter NameDescriptionRequired
idthe template IDtrue
accountsa comma delimited list of accounts. If specified, "op" parameter has to be passed in.false
isextractabletrue if the template/iso is extractable, false other wise. Can be set only by root adminfalse
isfeaturedtrue for featured template/iso, false otherwisefalse
ispublictrue for public template/iso, false for private templates/isosfalse
oppermission operator (add, remove, reset)false
projectidsa comma delimited list of projects. If specified, "op" parameter has to be passed in.false

Response Tags

Response NameDescription
displaytextany text associated with the success or failure
successtrue if operation is executed successfully