template.update
This method allows to update existing templates.
This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See for more information.
(object/array)
Template properties to be updated.
Additionally to the , the method accepts the following parameters.
Returns an object containing the IDs of the updated templates under the templateids
property.
Renaming a template
Rename the template to “Template OS Linux”.
Response:
Updating template tags
Replace all template tags with a new one.
CTemplate::update() in ui/include/classes/api/services/CTemplate.php.