This method allows to update existing host macros.
(object/array)
to be updated.
(object)
Returns an object containing the IDs of the updated host macros under the property.
Changing the value of a host macro
Change the value of a host macro to “public”.
Response:
{
"jsonrpc": "2.0",
"result": {
"1"
]
},
CUserMacro::update() in ui/include/classes/api/services/CUserMacro.php.