此方法允许更新现有的主机宏。
要更新的。
返回包含“hostMacroids”属性下更新的主机宏的ID的对象。
Changing the value of a host macro
Change the value of a host macro to “public”.
Response:
- {
- "jsonrpc": "2.0",
- "result": {
- "1"
- ]
- },
- "id": 1
CUserMacro::update() in frontends/php/include/classes/api/services/CUserMacro.php.