Áú»¢¶Ä²©

?????.???

?????

object template.delete(array templateIds)

???? ?? ?????? ????? ??????.

????? ????? ????? ?????? ?? ?????? ?????? (??????, ???????, ????? ???'). ?????? ?????? ????? ?? ???????, ??? ??? ?? ?????? ????, ????? ??? ?? ?????? ?? ?????? ?????? ?????? ???? ??????? ?????: template.update, template.massupdate, host.update, host.massupdate.

???? ?? ????? ?? ?-Admin ?-Super Admin ???? ???????. ???? ???? ?????? ????? ????? ?????? ????? ??????. ??? ????? ??????? ????? ????.

???????

???? (????) ?? ??????? ??????.

???? ?????

(???????) ????? ??????? ????? ?? ?????? ?? ??????? ?????? ??? ??????? 'templateids'.

???????

????? ?????? ??????

??? ??? ??????.

?????????:

{
            "jsonrpc": "2.0",
            "method": "template.delete",
            "??????": [
                "13",
                "32"
            ],
            "auth": "038e1d7b1735c6a5436ee9eae095879e",
            "????": 1
       }

????????:

{
            "jsonrpc": "2.0",
            "?????": {
                "templateids": [
                    "13",
                    "32"
                ]
            },
            "????": 1
       }

????

CTemplate::delete()? ???? ui/include/classes/api/services/CTemplate.php.