Apache CloudStack 4.23.0.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 privileged Template is a private Template with account permissions added. Only accounts specified under the Template permissions are visible to them.
Request parameters
| Parameter Name | Description | Required |
| id | The Template ID | true |
| accounts | A comma delimited list of Accounts within caller's domain. If specified, "op" parameter has to be passed in. | false |
| isextractable | True if the Template/ISO is extractable, false otherwise. Can be set only by root admin | false |
| isfeatured | True for featured Template/ISO, false otherwise | false |
| ispublic | True for public Template/ISO, false for private Templates/ISOs | false |
| op | Permission operator (add, remove, reset) | false |
| projectids | A comma delimited list of projects. If specified, "op" parameter has to be passed in. | false |
Response Tags
| Response Name | Description |
| displaytext | Any text associated with the success or failure |
| success | True if operation is executed successfully |