[comment]: # ({17e99ab8-17e99ab8})
# עדכון. משק בית

[comment]: # ({/17e99ab8-17e99ab8})

[comment]: # ({455dbce9-e666a98a})
### תיאור

`object housekeeping.update(object housekeeping)`

שיטה זו מאפשרת לעדכן הגדרות משק בית קיימות.

::: noteclassic
שיטה זו זמינה רק לסוג משתמש *סופר אדמין*.
ניתן לבטל הרשאות להתקשר למתודה בהגדרות תפקידי המשתמש. לִרְאוֹת
[מִשׁתַמֵשׁ
תפקידים](/manual/web_interface/frontend_sections/administration/user_roles)
למידע נוסף.
:::

[comment]: # ({/455dbce9-e666a98a})

[comment]: # ({1fbc22d5-59628702})
### פרמטרים

`(אובייקט)` יש לעדכן נכסי משק בית.

[comment]: # ({/1fbc22d5-59628702})

[comment]: # ({7e739534-440363c6})
### החזר ערכים

`(מערך)` מחזיר מערך עם שמות הפרמטרים המעודכנים.

[comment]: # ({/7e739534-440363c6})

[comment]: # ({36308082-16b418fc})
### דוגמאות

בַּקָשָׁה:

``` json
{
     "jsonrpc": "2.0",
     "method": "housekeeping.update",
     "params": {
         "hk_events_mode": "1",
         "hk_events_trigger": "200d",
         "hk_events_internal": "2d",
         "hk_events_discovery": "2d"
     },
     "auth": "038e1d7b1735c6a5436ee9eae095879e",
     "מזהה": 1
}
```

תְגוּבָה:

``` json
{
     "jsonrpc": "2.0",
     "תוצאה": [
         "hk_events_mode",
         "hk_events_trigger",
         "hk_events_internal",
         "hk_events_discovery"
     ],
     "מזהה": 1
}
```

[comment]: # ({/36308082-16b418fc})

[comment]: # ({d089883f-d089883f})
### מקור

CHousekeeping::update()‎ בתוך
*ui/include/classes/api/services/CHousekeeping.php*.

[comment]: # ({/d089883f-d089883f})
