template.massremove
This method allows to remove related objects from multiple 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 User roles for more information.
Parameters
Parameters containing the IDs of the templates to update and the objects that should be removed.
Examples
Removing templates from a group
Remove two templates from group “2”.
Request:
Response:
Unlinking templates from a host
Request:
Response:
Source
CTemplate::massRemove() in ui/include/classes/api/services/CTemplate.php.