When i trying to unlink template through API. Some error said:
"zabbix_api.ZabbixAPIException: (u'Error -32500: Application error., You do not have permission to perform this operation. while sending {"params": {"hostids": [[{"hostid": "10382"}]], "templateids": "10085"}, "jsonrpc": "2.0", "method": "template.massremove", "auth": "pass", "id": 3}', -32500)"