<?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: Problem accessing external account using accounts/switch endpoint in ExtremeCloud IQ Developer Community</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-developer/problem-accessing-external-account-using-accounts-switch/m-p/69533#M14</link>
    <description>Hi Gabriel,&lt;BR /&gt;&lt;BR /&gt;By default, external admins do not have API access. This must be granted by a local admin or an external admin that has API permissions. I have attached a guide that includes steps to rectify this on a admin by admin basis. If you would like to do this for all external admins of a VIQ, you can follow the instructions at the following link: https://extremeportal.force.com/ExtrArticleDetail?an=000102173</description>
    <pubDate>Mon, 17 Jan 2022 22:00:48 GMT</pubDate>
    <dc:creator>Nick_Moore</dc:creator>
    <dc:date>2022-01-17T22:00:48Z</dc:date>
    <item>
      <title>Problem accessing external account using accounts/switch endpoint</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-developer/problem-accessing-external-account-using-accounts-switch/m-p/69532#M13</link>
      <description>&lt;DIV class="media" style="overflow: hidden"&gt;Hello everyone, I've been having some issues when implementing the new API on my captive portal application and haven't found a way to solve it.&lt;BR /&gt;The account I'm trying to get devices info from is an external account from the one we use for CWP clients management, and by using the /account/external endpoint I can get it's Id and info as intended&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class=" microlight" style="display: block; padding: 0.5em; background: #333333 none repeat scroll 0% 0%; color: white"&gt;&lt;CODE&gt;&lt;SPAN&gt;[
&lt;/SPAN&gt;  {
&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"id"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"ACCOUNT_ID",&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"create_time"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"2022-01-14T12:56:23.000+0000"&lt;/SPAN&gt;&lt;SPAN&gt;,
&lt;/SPAN&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"update_time"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"2022-01-14T12:56:23.000+0000"&lt;/SPAN&gt;&lt;SPAN&gt;,
&lt;/SPAN&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"NAME"&lt;/SPAN&gt;&lt;SPAN&gt;,
&lt;/SPAN&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"alias"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"NAME"&lt;/SPAN&gt;&lt;SPAN&gt;,
&lt;/SPAN&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"active"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #fcc28c"&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;,
&lt;/SPAN&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"data_center"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"DATACENTER"&lt;/SPAN&gt;&lt;SPAN&gt;
&lt;/SPAN&gt;  }
]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;but when I try to use the account/switch endpoint to change into it and retrieve that account info, I get the API access is disabled error.&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class=" microlight" style="display: block; padding: 0.5em; background: #333333 none repeat scroll 0% 0%; color: white"&gt;&lt;CODE&gt;&lt;SPAN&gt;{
&lt;/SPAN&gt;&lt;SPAN&gt;  &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"error_code"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"PERMISSION_DENIED"&lt;/SPAN&gt;&lt;SPAN&gt;,
&lt;/SPAN&gt;&lt;SPAN&gt;  &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"error_id"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"ERROR_ID"&lt;/SPAN&gt;&lt;SPAN&gt;,
&lt;/SPAN&gt;&lt;SPAN&gt;  &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"error_message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a2fca2"&gt;"PERMISSION_DENIED: API access is disabled"&lt;/SPAN&gt;&lt;SPAN&gt;
&lt;/SPAN&gt;}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;I tried searching on the API docs but had no luck, I'm looking for a way to grant API access to the CWP management account to switch and access the devices on this account. I can't make a new account as administrator of the external account because of company reasons. Thanks in advance &lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jan 2022 16:43:18 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-developer/problem-accessing-external-account-using-accounts-switch/m-p/69532#M13</guid>
      <dc:creator>gabrielb</dc:creator>
      <dc:date>2022-01-14T16:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem accessing external account using accounts/switch endpoint</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-developer/problem-accessing-external-account-using-accounts-switch/m-p/69533#M14</link>
      <description>Hi Gabriel,&lt;BR /&gt;&lt;BR /&gt;By default, external admins do not have API access. This must be granted by a local admin or an external admin that has API permissions. I have attached a guide that includes steps to rectify this on a admin by admin basis. If you would like to do this for all external admins of a VIQ, you can follow the instructions at the following link: https://extremeportal.force.com/ExtrArticleDetail?an=000102173</description>
      <pubDate>Mon, 17 Jan 2022 22:00:48 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-developer/problem-accessing-external-account-using-accounts-switch/m-p/69533#M14</guid>
      <dc:creator>Nick_Moore</dc:creator>
      <dc:date>2022-01-17T22:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem accessing external account using accounts/switch endpoint</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-developer/problem-accessing-external-account-using-accounts-switch/m-p/69534#M15</link>
      <description>Thanks for letting us know the link wasn't working for you Gabriel, we've made the same guide in to a KB article that you can find on our portal now: https://extremeportal.force.com/ExtrArticleDetail?an=000102173</description>
      <pubDate>Thu, 20 Jan 2022 21:17:29 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-developer/problem-accessing-external-account-using-accounts-switch/m-p/69534#M15</guid>
      <dc:creator>SamPirok</dc:creator>
      <dc:date>2022-01-20T21:17:29Z</dc:date>
    </item>
  </channel>
</rss>

