object module.update(object/array modules)
This method allows to update existing modules.
This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(object/array)
Module properties to be updated.
The moduleid
property must be defined for each module, all other properties are optional. Only the specified properties will be updated.
The method accepts modules with the standard module properties.
(object)
Returns an object containing the IDs of the updated modules under the moduleids
property.
モジュール"25"を無効化します。
リクエスト :
{
"jsonrpc": "2.0",
"method": "module.update",
"params": {
"moduleid": "25",
"status": 0
},
"id": 1
}
レスポンス :
CModule::update() in ui/include/classes/api/services/CModule.php.