[comment]: # ({4de11b33-4de11b33})
# trigger.מחיקת תלות

[comment]: # ({/4de11b33-4de11b33})

[comment]: # ({887d1196-887d1196})
### תיאור

`object trigger.deletedependencies(מחרוזת/מערך טריגרים)`

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

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

[comment]: # ({/887d1196-887d1196})

[comment]: # ({88bd9ada-88bd9ada})
### פרמטרים

`(מחרוזת/מערך)` מפעילים למחיקת התלות בטריגרים.

[comment]: # ({/88bd9ada-88bd9ada})

[comment]: # ({629871b3-629871b3})
### החזר ערכים

`(object)` מחזירה אובייקט המכיל את המזהים של הטריגרים המושפעים
תחת המאפיין `triggerids`.

[comment]: # ({/629871b3-629871b3})

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

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

[comment]: # ({739a65ed-49a2108e})
#### מחיקת תלות ממספר טריגרים

מחק את כל התלות משני טריגרים.

בַּקָשָׁה:

``` json
{
     "jsonrpc": "2.0",
     "method": "trigger.deleteDependencies",
     "פארמים": [
         {
             "triggerid": "14544"
         },
         {
             "triggerid": "14545"
         }
     ],
     "auth": "038e1d7b1735c6a5436ee9eae095879e",
     "מזהה": 1
}
```

תְגוּבָה:

``` json
{
     "jsonrpc": "2.0",
     "תוצאה": {
         "טריגרידים": [
             "14544",
             "14545"
         ]
     },
     "מזהה": 1
}
```

[comment]: # ({/739a65ed-49a2108e})

[comment]: # ({7a5d446d-7a5d446d})
### מידע נוסף

-   [trigger.update](update)

[comment]: # ({/7a5d446d-7a5d446d})

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

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

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