templategroup.massupdate
This method allows to replace templates with the specified ones in multiple template groups.
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.
Parameters
(object)
Returns an object containing the IDs of the updated template groups under the property.
Examples
Replacing templates in a template group
Replace all templates in a template group to ones mentioned templates.
Response:
{
"jsonrpc": "2.0",
"result": {
"groupids": [
]
},
"id": 1
}
Source
CTemplateGroup::massUpdate() in ui/include/classes/api/services/CTemplateGroup.php.