object usermacro.deleteglobal(array globalMacroIds)
此方法允许删除全局宏。
object usermacro.deleteglobal(array globalMacroIds)
This method allows to delete global macros.
(array)
要删除的全局宏的ID。
(array)
IDs of the global macros to delete.
(object)
返回包含“globalmacroids”属性下删除的全局宏ID的对象。
(object)
Returns an object containing the IDs of the deleted global macros under the globalmacroids
property.
删除2个主机宏。
Delete two global macros.
Request:
{
"jsonrpc": "2.0",
"method": "usermacro.deleteglobal",
"params": [
"32",
"11"
],
"auth": "3a57200802b24cda67c4e4010b50c065",
"id": 1
}
Response:
CUserMacro::deleteGlobal() in frontends/php/include/classes/api/services/CUserMacro.php.