<?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 Help adding guest users using the API in Aerohive Migrated Content</title>
    <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-adding-guest-users-using-the-api/m-p/91041#M12796</link>
    <description>&lt;P&gt;Hi, ultimately I would like to add guest users using the API. At the moment, I'm having trouble authenticating. So far, using post man I have done the below and get 403: access_denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl --location --request GET 'http://cloud-va.aerohive.com/xapi/v1/monitor/devices?ownerId=2' &lt;/P&gt;&lt;P&gt;--header 'Authorization: Bearer &amp;lt;ACCESS_TOKEN_FROM_EXTREMECLOUD_IQ&amp;gt;' &lt;/P&gt;&lt;P&gt;--header 'X-AH-API-CLIENT-ID: &amp;lt;CLIENT_ID_FROM_DEV_PORTAL&amp;gt;' &lt;/P&gt;&lt;P&gt;--header 'X-AH-API-CLIENT-SECRET: &amp;lt;CLIENT_SECRET_FROM_DEV_PORTAL&amp;gt;' &lt;/P&gt;&lt;P&gt;--header 'X-AH-API-CLIENT-REDIRECT-URI: https://hivemanager.example.com'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the Client ID from the development portal to generate the API Access Token in the Cloud Hive Manager.&lt;/P&gt;&lt;P&gt;As we're not using the on-prem Hive Manager I set a dummy Redirect URL (https://hivemanager.example.com) in both the development portal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error in Postman  -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"data":&amp;nbsp;null,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"error":&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"status":&amp;nbsp;403,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"code":&amp;nbsp;"access_denied",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"rawMessage":&amp;nbsp;"ULKvmfFXwD:&amp;nbsp;null"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2020 20:21:05 GMT</pubDate>
    <dc:creator>dspatel</dc:creator>
    <dc:date>2020-01-30T20:21:05Z</dc:date>
    <item>
      <title>Help adding guest users using the API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-adding-guest-users-using-the-api/m-p/91041#M12796</link>
      <description>&lt;P&gt;Hi, ultimately I would like to add guest users using the API. At the moment, I'm having trouble authenticating. So far, using post man I have done the below and get 403: access_denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl --location --request GET 'http://cloud-va.aerohive.com/xapi/v1/monitor/devices?ownerId=2' &lt;/P&gt;&lt;P&gt;--header 'Authorization: Bearer &amp;lt;ACCESS_TOKEN_FROM_EXTREMECLOUD_IQ&amp;gt;' &lt;/P&gt;&lt;P&gt;--header 'X-AH-API-CLIENT-ID: &amp;lt;CLIENT_ID_FROM_DEV_PORTAL&amp;gt;' &lt;/P&gt;&lt;P&gt;--header 'X-AH-API-CLIENT-SECRET: &amp;lt;CLIENT_SECRET_FROM_DEV_PORTAL&amp;gt;' &lt;/P&gt;&lt;P&gt;--header 'X-AH-API-CLIENT-REDIRECT-URI: https://hivemanager.example.com'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the Client ID from the development portal to generate the API Access Token in the Cloud Hive Manager.&lt;/P&gt;&lt;P&gt;As we're not using the on-prem Hive Manager I set a dummy Redirect URL (https://hivemanager.example.com) in both the development portal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error in Postman  -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"data":&amp;nbsp;null,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"error":&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"status":&amp;nbsp;403,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"code":&amp;nbsp;"access_denied",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"rawMessage":&amp;nbsp;"ULKvmfFXwD:&amp;nbsp;null"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 20:21:05 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-adding-guest-users-using-the-api/m-p/91041#M12796</guid>
      <dc:creator>dspatel</dc:creator>
      <dc:date>2020-01-30T20:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding guest users using the API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-adding-guest-users-using-the-api/m-p/91042#M12797</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Your ownerId (in the URL) appears to be wrong.  The value you need is the VIQ Id.  You can find this by going to the person icon -&amp;gt;About Hivemanager&lt;/P&gt;&lt;P&gt;It will be the last value.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 19:45:43 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-adding-guest-users-using-the-api/m-p/91042#M12797</guid>
      <dc:creator>dkraemer</dc:creator>
      <dc:date>2020-01-31T19:45:43Z</dc:date>
    </item>
  </channel>
</rss>

