<?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 Accounts/Admin API across child accounts in APIs</title>
    <link>https://community.cisco.com/t5/apis/accounts-admin-api-across-child-accounts/m-p/4883635#M514</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;So I enabled the Accounts API and Admin API in my parent account. I can call both APIs methods successfully including getting back the list of child accounts. However I am really confused because the Accounts API documentation states:&lt;/P&gt;
&lt;P&gt;Once a customer’s Duo account has been created, the &lt;A href="https://duo.com/docs/adminapi" rel="nofollow noopener"&gt;Admin API&lt;/A&gt; can configure and query the new account. An Account API  &lt;CODE&gt;ikey&lt;/CODE&gt;  and  &lt;CODE&gt;skey&lt;/CODE&gt;  can authenticate with the Admin API for any child account. When using an Accounts API application all Admin API methods take an additional parameter,  &lt;CODE&gt;account_id&lt;/CODE&gt; , which selects the child account to operate on. Child accounts do not need to add an Admin API application for this to work.&lt;/P&gt;
&lt;P&gt;To me this seems to indicate I can use the IKey and SKey from the Accounts API to then make calls against the Admin API given I pass in the account_id parameter as well to get details on the child accounts? However this doesn’t seem to work, always returns a 401. So looking for clarification if indeed this is possible then do I use the child account API hostname or parent account API hostname (I have tried both) and is there anything else I would need to enable for the Accounts API IKey and SKey to work on the child accounts?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 12 Jun 2019 22:23:12 GMT</pubDate>
    <dc:creator>John_Makella</dc:creator>
    <dc:date>2019-06-12T22:23:12Z</dc:date>
    <item>
      <title>Accounts/Admin API across child accounts</title>
      <link>https://community.cisco.com/t5/apis/accounts-admin-api-across-child-accounts/m-p/4883635#M514</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;So I enabled the Accounts API and Admin API in my parent account. I can call both APIs methods successfully including getting back the list of child accounts. However I am really confused because the Accounts API documentation states:&lt;/P&gt;
&lt;P&gt;Once a customer’s Duo account has been created, the &lt;A href="https://duo.com/docs/adminapi" rel="nofollow noopener"&gt;Admin API&lt;/A&gt; can configure and query the new account. An Account API  &lt;CODE&gt;ikey&lt;/CODE&gt;  and  &lt;CODE&gt;skey&lt;/CODE&gt;  can authenticate with the Admin API for any child account. When using an Accounts API application all Admin API methods take an additional parameter,  &lt;CODE&gt;account_id&lt;/CODE&gt; , which selects the child account to operate on. Child accounts do not need to add an Admin API application for this to work.&lt;/P&gt;
&lt;P&gt;To me this seems to indicate I can use the IKey and SKey from the Accounts API to then make calls against the Admin API given I pass in the account_id parameter as well to get details on the child accounts? However this doesn’t seem to work, always returns a 401. So looking for clarification if indeed this is possible then do I use the child account API hostname or parent account API hostname (I have tried both) and is there anything else I would need to enable for the Accounts API IKey and SKey to work on the child accounts?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Jun 2019 22:23:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/accounts-admin-api-across-child-accounts/m-p/4883635#M514</guid>
      <dc:creator>John_Makella</dc:creator>
      <dc:date>2019-06-12T22:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accounts/Admin API across child accounts</title>
      <link>https://community.cisco.com/t5/apis/accounts-admin-api-across-child-accounts/m-p/4883636#M515</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi John,&lt;BR /&gt;
I looked into this with our support team and it appears there may be an issue with your Accounts API setup. It looks like you have a support case open with our team on this issue, so please work with our support engineers there to troubleshoot this issue further. Thanks!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Jun 2019 15:59:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/accounts-admin-api-across-child-accounts/m-p/4883636#M515</guid>
      <dc:creator>Dooley</dc:creator>
      <dc:date>2019-06-13T15:59:26Z</dc:date>
    </item>
  </channel>
</rss>

