<?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: How to close python meraki.DashboardAPI session in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433003#M5327</link>
    <description>&lt;P&gt;AFAIK the 'session' in the Meraki Python library is just a wrapper for a set of parameters such as base URL org ID, API key, control settings etc. that are then used by each API call referencing that 'session'.&lt;/P&gt;&lt;P&gt;From Dashboard's end, there is no session, it sees just a series of standalone calls, each containing all required info.&lt;/P&gt;&lt;P&gt;If you want to clean up, it's just a local activity, there's no Dashboard session to close.&lt;/P&gt;</description>
    <pubDate>Sat, 18 Mar 2023 12:00:40 GMT</pubDate>
    <dc:creator>sungod</dc:creator>
    <dc:date>2023-03-18T12:00:40Z</dc:date>
    <item>
      <title>How to close python meraki.DashboardAPI session</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433000#M5324</link>
      <description>&lt;P&gt;I'm struggling to find a way to close meraki.DashboardAPI session in a docker container with python script inside, that calls &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;meraki.DashboardAPI&lt;/PRE&gt;&lt;P&gt;As a final step i want to close the session to meraki dashboard, but i can't find a way to do it. Can anyone advise on some way to achieve this?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Mar 2023 23:22:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433000#M5324</guid>
      <dc:creator>winadm</dc:creator>
      <dc:date>2023-03-17T23:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to close python meraki.DashboardAPI session</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433001#M5325</link>
      <description>&lt;P&gt;Here are some sample scripts, maybe they can help you.: &lt;A href="https://github.com/meraki/automation-scripts" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/meraki/automation-scripts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 02:21:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433001#M5325</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2023-03-18T02:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to close python meraki.DashboardAPI session</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433002#M5326</link>
      <description>&lt;P&gt;What you are probably looking for is the C++ equivalent to a &lt;A href="https://www.geeksforgeeks.org/destructors-in-python/" target="_self" rel="nofollow noopener noreferrer"&gt;destructor&lt;/A&gt;. Assuming that the &lt;FONT face="courier new,courier"&gt;meraki.DashboardAPI()&lt;/FONT&gt; object has a&lt;FONT face="courier new,courier"&gt; __del__()&lt;/FONT&gt; method, you can simply use &lt;FONT face="courier new,courier"&gt;del dashboard&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;dashboardObj = meraki.DashboardAPI()

del dashboardObj&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 18 Mar 2023 09:17:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433002#M5326</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2023-03-18T09:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to close python meraki.DashboardAPI session</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433003#M5327</link>
      <description>&lt;P&gt;AFAIK the 'session' in the Meraki Python library is just a wrapper for a set of parameters such as base URL org ID, API key, control settings etc. that are then used by each API call referencing that 'session'.&lt;/P&gt;&lt;P&gt;From Dashboard's end, there is no session, it sees just a series of standalone calls, each containing all required info.&lt;/P&gt;&lt;P&gt;If you want to clean up, it's just a local activity, there's no Dashboard session to close.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 12:00:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433003#M5327</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2023-03-18T12:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to close python meraki.DashboardAPI session</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433004#M5328</link>
      <description>&lt;P&gt;That answer might be a bit tricker when you consider AIO.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 20:51:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-close-python-meraki-dashboardapi-session/m-p/5433004#M5328</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2023-03-18T20:51:21Z</dc:date>
    </item>
  </channel>
</rss>

