<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Correct syntax for API call in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424046#M3955</link>
    <description>&lt;P&gt;No worries! Glad you got it working.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 17:57:22 GMT</pubDate>
    <dc:creator>JasonMo</dc:creator>
    <dc:date>2022-11-17T17:57:22Z</dc:date>
    <item>
      <title>Correct syntax for API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424042#M3951</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;Trying to use this API call: &lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!unbind-network" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!unbind-network&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Need some guidance on how to include the optional &lt;SPAN class=""&gt;&lt;STRONG&gt;retainConfigs: true&lt;/STRONG&gt;  boolean. I've tried a variety of different formats, all of which are leading to different errors. I'm sure there's a correct way to enter this, I just have no idea what it is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Here is what I'm currently working with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;dashboard.networks.unbindNetwork(&lt;BR /&gt;network_id, &lt;STRONG&gt;{ "retainConfigs": True }&lt;/STRONG&gt;&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If someone who's used optional params before could offer some guidance on the correct syntax for this API call, it would be much appreciated. Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 17:21:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424042#M3951</guid>
      <dc:creator>AutomationDude</dc:creator>
      <dc:date>2022-11-16T17:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Correct syntax for API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424043#M3952</link>
      <description>&lt;P&gt;Hello &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/54907"&gt;@AutomationDude&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You'll want to pass the parameters as illustrated:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;dashboard.networks.unbindNetwork(networkId, retainConfigs=True)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 18:00:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424043#M3952</guid>
      <dc:creator>JasonMo</dc:creator>
      <dc:date>2022-11-16T18:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Correct syntax for API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424044#M3953</link>
      <description>&lt;P&gt;Hey &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/194"&gt;@JasonMo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I did try that as well, but it results in the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;TypeError: unbindNetwork() got an unexpected keyword argument 'retainConfigs'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt; &lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Any ideas on what I could be doing wrong?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 12:12:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424044#M3953</guid>
      <dc:creator>AutomationDude</dc:creator>
      <dc:date>2022-11-17T12:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Correct syntax for API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424045#M3954</link>
      <description>&lt;P&gt;Nevermind, I just had to update my SDK. Excuse my stupidity.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 13:02:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424045#M3954</guid>
      <dc:creator>AutomationDude</dc:creator>
      <dc:date>2022-11-17T13:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Correct syntax for API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424046#M3955</link>
      <description>&lt;P&gt;No worries! Glad you got it working.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 17:57:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/correct-syntax-for-api-call/m-p/5424046#M3955</guid>
      <dc:creator>JasonMo</dc:creator>
      <dc:date>2022-11-17T17:57:22Z</dc:date>
    </item>
  </channel>
</rss>

