<?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 get user ids from meraki in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440887#M6403</link>
    <description>&lt;P&gt;This endpoint:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-clients/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-clients/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;will show all unique ids that have used a network during a specific timespan. Once you get the ids, put them in a 'list' and you can use them with other endpoints.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 13:33:53 GMT</pubDate>
    <dc:creator>Pmeza</dc:creator>
    <dc:date>2023-07-10T13:33:53Z</dc:date>
    <item>
      <title>how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440881#M6397</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;We are using meraki wifi with guest user via splash login. I want to delete these users when they are expired.&lt;/P&gt;&lt;P&gt;I used this documentation: &lt;A href="https://developer.cisco.com/meraki/api-v1" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I found this method to delete them:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!delete-a-user-and-all-of-its-authentication-methods" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!delete-a-user-and-all-of-its-authentication-methods&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My problem is I don't know how to get the userid. There is no GET for users as far as I can see.&lt;/P&gt;&lt;P&gt;There is only the method "&lt;SPAN&gt;merakiAuthUsers" where I get an ID, and the ID is just base64 hashed "email,accountType".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TLDR: How can I get the user id to delete it with &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;deleteOrganizationUser"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;R0g3r&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 14:28:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440881#M6397</guid>
      <dc:creator>R0g3r</dc:creator>
      <dc:date>2023-07-05T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440882#M6398</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/93390"&gt;@R0g3r&lt;/A&gt; : Are you looking for below &lt;SPAN&gt;To get a list of all existing &lt;SPAN&gt;authorized&lt;/SPAN&gt; users&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!list-the-users-configured-under-meraki-authentication-for-a-network-splash-guest-or-radius-users-for-a-wireless-network-or-client-vpn-users-for-a-wired-network" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!list-the-users-configured-under-meraki-authentication-for-a-network-splash-guest-or-radius-users-for-a-wireless-network-or-client-vpn-users-for-a-wired-network&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Also check&lt;BR /&gt;&lt;A href="https://community.meraki.com/t5/Developers-APIs/Rerieving-a-merakiAuthUser-userid-at-organization-level-by-email/m-p/146612" target="_blank"&gt;https://api.meraki.com/api/v1/networks/&amp;lt;networkID&amp;gt;/merakiAuthUsers/&amp;lt;UserID&amp;gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 15:03:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440882#M6398</guid>
      <dc:creator>inderdeepsingh1</dc:creator>
      <dc:date>2023-07-05T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440883#M6399</link>
      <description>&lt;P&gt;Thank you for your fast response. Unfortunatly, that is not working. As an example I run this command:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!list-the-users-configured-under-meraki-authentication-for-a-network-splash-guest-or-radius-users-for-a-wireless-network-or-client-vpn-users-for-a-wired-network" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!list-the-users-configured-under-meraki-authentication-for-a-network-splash-guest-or-radius-users-for-a-wireless-network-or-client-vpn-users-for-a-wired-network&lt;/A&gt;&lt;/P&gt;&lt;P&gt;with this output:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;[
    {
        "id": "aGlAaGkuY29t",
        "email": "miles@meraki.com",
        "name": "Miles Meraki",
        "createdAt": "2018-02-11T00:00:00.090210Z",
        "accountType": "Guest",
        "isAdmin": false,
        "authorizations": [
            {
                "ssidNumber": 1,
                "authorizedZone": "Store WiFi",
                "expiresAt": "2018-03-13T00:00:00.090210Z",
                "authorizedByName": "Miles Meraki",
                "authorizedByEmail": "miles@meraki.com"
            }
        ]
    }
]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Next step is I take this Id and run this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://api.meraki.com/api/v1/organizations/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;organizationId&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;/users/aGlAaGkuY29t&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then I receive: "The remote server returned an error: (404) Not Found."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Therefore I believe I don't get the correct ID or this is the merakiAuthUserID but no the userId needed for deleteOrganizationUsers.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;R0g3r&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Jul 2023 15:16:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440883#M6399</guid>
      <dc:creator>R0g3r</dc:creator>
      <dc:date>2023-07-05T15:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440884#M6400</link>
      <description>&lt;P&gt;I asked the support and this is not possible at the moment.&lt;/P&gt;&lt;P&gt;With this method you can only delete organizations admin:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!delete-a-user-and-all-of-its-authentication-methods" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!delete-a-user-and-all-of-its-authentication-methods&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunatly, for meraki auth user there is only a deauthorize method, but no delete method.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 13:03:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440884#M6400</guid>
      <dc:creator>R0g3r</dc:creator>
      <dc:date>2023-07-06T13:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440885#M6401</link>
      <description>&lt;P&gt;are you talking about client ids? like the client ids Meraki assigns to each user?&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;client_ids&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN&gt;'k123456'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'k789abc'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'kabcde1'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'k01abcde'&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 00:36:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440885#M6401</guid>
      <dc:creator>Pmeza</dc:creator>
      <dc:date>2023-07-07T00:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440886#M6402</link>
      <description>&lt;P&gt;Probably not, but I would try it netherless &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How do I get the client_id for a user?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 06:26:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440886#M6402</guid>
      <dc:creator>R0g3r</dc:creator>
      <dc:date>2023-07-07T06:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440887#M6403</link>
      <description>&lt;P&gt;This endpoint:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-clients/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-clients/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;will show all unique ids that have used a network during a specific timespan. Once you get the ids, put them in a 'list' and you can use them with other endpoints.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 13:33:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440887#M6403</guid>
      <dc:creator>Pmeza</dc:creator>
      <dc:date>2023-07-10T13:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to get user ids from meraki</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440888#M6404</link>
      <description>&lt;P&gt;This give me the clients, but I need the user. I guess the support is right, there is no way at the moment. Netherless, thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 06:14:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-to-get-user-ids-from-meraki/m-p/5440888#M6404</guid>
      <dc:creator>R0g3r</dc:creator>
      <dc:date>2023-07-11T06:14:38Z</dc:date>
    </item>
  </channel>
</rss>

