मुख्य सामग्री पर जाएं
PUT
Beta. पूर्ण फ़ीचर विवरण के लिए Automations Overview देखें।
आंशिक अद्यतन। केवल सूचीबद्ध fields संपादन योग्य हैं; किसी अन्य को भेजना (जैसे platform, accountId) एक validation error के रूप में अस्वीकार किया जाता है। triggers या actions भेजना मौजूदा children को atomically प्रतिस्थापित करता है: पुराना set हटा दिया जाता है और नया set एक ही Firestore transaction में लिखा जाता है। केवल एक trigger बदलने के लिए, पूर्ण नई array भेजें। पहले से inactive automation को पुनः सक्रिय करना (active: true) active-cap की पुनः जाँच करता है। यदि cap पहले से सीमा पर है, तो अद्यतन code 470 के साथ विफल हो जाता है और कोई परिवर्तन नहीं किया जाता।

Header Parameters

Path Parameters

id
string
आवश्यक
POST /automations से लौटाया गया automation ID।

Body Parameters

name
string
नया नाम।
description
string
नया विवरण।
active
boolean
automation को on या off toggle करें। इसे false से true पर सेट करने पर active automation cap की पुनः जाँच होती है।
triggers
array
triggers का पूर्ण प्रतिस्थापन set (1–50)। create endpoint के समान आकार।
actions
array
actions का पूर्ण प्रतिस्थापन set (1–50)। create endpoint के समान आकार।