templategroup.massremove
This method allows to remove related objects from 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.
(object)
Returns an object containing the IDs of the updated template groups under the groupids
property.
Removing templates from template groups
Remove two templates from the given template groups.
Response:
"jsonrpc": "2.0",
"result": {
"6"
]
},
}
CTemplateGroup::massRemove() in ui/include/classes/api/services/CTemplateGroup.php.