<?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: Cycle port switch - Dashboard UI OK / API error 403 in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570485#M9688</link>
    <description>&lt;P&gt;FWIW, This has been a long-running debate. I believe read-only admins will not be able to cycle switch ports via Dashboard. Not sure exactly when that will be enforced.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2026 19:16:32 GMT</pubDate>
    <dc:creator>obrigg</dc:creator>
    <dc:date>2026-08-20T19:16:32Z</dc:date>
    <item>
      <title>Cycle port switch - Dashboard UI OK / API error 403</title>
      <link>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570432#M9687</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I'm trying to understand whether the following behavior is expected or if there is a permission inconsistency between the Meraki Dashboard UI and Dashboard API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;We have an administrator with &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Read-only access at the Network level&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;From the Meraki Dashboard UI, this administrator is able to perform a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;port cycle / bounce&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; on a switch port.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;However, using an API key belonging to the same administrator, the following endpoint returns &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;403 Forbidden&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;POST /devices/{serial}/liveTools/ports/cycle&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;I then checked what the Dashboard UI does using the browser DevTools.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Interestingly, when the same Read-only administrator cycles port 17 on switch from the Dashboard, the UI does &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;not appear to use the public REST endpoint&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;. Instead, it sends a request through the Dashboard's internal CometD connection:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;POST https://&amp;lt;dashboard-shard&amp;gt;.dashboard.meraki.com/cometd/&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;The relevant CometD request contains:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{
  "channel": "/requests",
  "data": {
    "node_id": "&amp;lt;node_id&amp;gt;",
    "ports": "17",
    "module_ports_info": [],
    "type": "PortBouncing"
  }
}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;The Dashboard first subscribes to:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;/node/&amp;lt;node_id&amp;gt;/PortBouncing&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;and the &lt;/SPAN&gt;&lt;SPAN&gt;/requests&lt;/SPAN&gt;&lt;SPAN&gt; message is accepted with:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{
  "channel": "/requests",
  "successful": true
}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;It then unsubscribes from the &lt;/SPAN&gt;&lt;SPAN&gt;PortBouncing&lt;/SPAN&gt;&lt;SPAN&gt; channel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The port cycle itself works successfully from the Dashboard with this Read-only account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;So there appear to be two different authorization paths:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dashboard UI + Read-only admin
    -&amp;gt; internal CometD "PortBouncing"
    -&amp;gt; allowed

Dashboard API + same Read-only admin
    -&amp;gt; POST /devices/{serial}/liveTools/ports/cycle
    -&amp;gt; 403&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;The API behavior itself makes sense since triggering a port cycle is treated as a write operation. What I find interesting is that the Dashboard UI intentionally allows what is effectively the same operational action to a Read-only administrator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this difference excepted ? Or is this simply a permission mismatch between the Dashboard UI and Dashboard API ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for any insighe, if someone already observed this mismatch...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 14:20:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570432#M9687</guid>
      <dc:creator>maxencecolson</dc:creator>
      <dc:date>2026-08-20T14:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle port switch - Dashboard UI OK / API error 403</title>
      <link>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570485#M9688</link>
      <description>&lt;P&gt;FWIW, This has been a long-running debate. I believe read-only admins will not be able to cycle switch ports via Dashboard. Not sure exactly when that will be enforced.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 19:16:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570485#M9688</guid>
      <dc:creator>obrigg</dc:creator>
      <dc:date>2026-08-20T19:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle port switch - Dashboard UI OK / API error 403</title>
      <link>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570607#M9689</link>
      <description>&lt;P&gt;Thanks for the clarification. Yes, it is indeed surprising to see this difference in behavior between the Dashboard UI and the API.&lt;/P&gt;&lt;P&gt;It makes more sense for Read-Only accounts to be strictly limited to read-only operations. Hopefully, this inconsistency will be addressed in the future.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 11:47:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570607#M9689</guid>
      <dc:creator>maxencecolson</dc:creator>
      <dc:date>2026-08-21T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle port switch - Dashboard UI OK / API error 403</title>
      <link>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570610#M9690</link>
      <description>&lt;P&gt;I can't find my old post , but I made a similar post years ago. Someone in our IT departement did a port cycle on 1-48 ports during a presentation from our VP. The room lost connectivity , and the dashboard doesn't log user that are doing these things. It has been a BIG concern for us since then.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 11:52:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cycle-port-switch-dashboard-ui-ok-api-error-403/m-p/5570610#M9690</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2026-08-21T11:52:09Z</dc:date>
    </item>
  </channel>
</rss>

