<?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 Minimum permission for a user to call API endpoint gettenant? in HPE Morpheus Enterprise</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/minimum-permission-for-a-user-to-call-api-endpoint-gettenant/m-p/7250147#M3321</link>
    <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I am trying to perform a GET tenant via the public morpheus API but I am getting a 403:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;user ‘u’ is from the tenant ‘x’&lt;/LI&gt;
&lt;LI&gt;i am trying to get info about tenant ‘x’&lt;/LI&gt;
&lt;LI&gt;I have a fresh API token of user ‘u’&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Body of the API response is:&lt;BR /&gt;
‘{“success”:false,“msg”:“You do not have permissions to access this api endpoint”}’&lt;/P&gt;
&lt;P&gt;My question is: what are the required permissions for role of this user ‘u’ to access this endpoint ?&lt;/P&gt;&lt;ASIDE class="onebox allowlistedgeneric" data-onebox-src="https://apidocs.morpheusdata.com/reference/gettenant"&gt;
  &lt;HEADER class="source"&gt;
      &lt;IMG src="https://files.readme.io/1740d28-morpheus-symbolonly-v21.svg" class="site-icon" width="265" height="264" /&gt;

      &lt;A href="https://apidocs.morpheusdata.com/reference/gettenant" target="_blank" rel="noopener nofollow ugc"&gt;Morpheus Data&lt;/A&gt;
  &lt;/HEADER&gt;

  &lt;ARTICLE class="onebox-body"&gt;
    

&lt;H3&gt;&lt;A href="https://apidocs.morpheusdata.com/reference/gettenant" target="_blank" rel="noopener nofollow ugc"&gt;Get tenant&lt;/A&gt;&lt;/H3&gt;

  &lt;P&gt;Get details about a tenant&lt;/P&gt;


  &lt;/ARTICLE&gt;

  &lt;DIV class="onebox-metadata"&gt;
    
    
  &lt;/DIV&gt;

  &lt;DIV style="clear: both"&gt;&lt;/DIV&gt;
&lt;/ASIDE&gt;

&lt;P&gt;Thanks &lt;IMG src="https://emoji.discourse-cdn.com/twitter/slight_smile.png?v=12" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20" /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 10:19:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2024-06-10T10:19:07Z</dc:date>
    <item>
      <title>Minimum permission for a user to call API endpoint gettenant?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/minimum-permission-for-a-user-to-call-api-endpoint-gettenant/m-p/7250147#M3321</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I am trying to perform a GET tenant via the public morpheus API but I am getting a 403:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;user ‘u’ is from the tenant ‘x’&lt;/LI&gt;
&lt;LI&gt;i am trying to get info about tenant ‘x’&lt;/LI&gt;
&lt;LI&gt;I have a fresh API token of user ‘u’&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Body of the API response is:&lt;BR /&gt;
‘{“success”:false,“msg”:“You do not have permissions to access this api endpoint”}’&lt;/P&gt;
&lt;P&gt;My question is: what are the required permissions for role of this user ‘u’ to access this endpoint ?&lt;/P&gt;&lt;ASIDE class="onebox allowlistedgeneric" data-onebox-src="https://apidocs.morpheusdata.com/reference/gettenant"&gt;
  &lt;HEADER class="source"&gt;
      &lt;IMG src="https://files.readme.io/1740d28-morpheus-symbolonly-v21.svg" class="site-icon" width="265" height="264" /&gt;

      &lt;A href="https://apidocs.morpheusdata.com/reference/gettenant" target="_blank" rel="noopener nofollow ugc"&gt;Morpheus Data&lt;/A&gt;
  &lt;/HEADER&gt;

  &lt;ARTICLE class="onebox-body"&gt;
    

&lt;H3&gt;&lt;A href="https://apidocs.morpheusdata.com/reference/gettenant" target="_blank" rel="noopener nofollow ugc"&gt;Get tenant&lt;/A&gt;&lt;/H3&gt;

  &lt;P&gt;Get details about a tenant&lt;/P&gt;


  &lt;/ARTICLE&gt;

  &lt;DIV class="onebox-metadata"&gt;
    
    
  &lt;/DIV&gt;

  &lt;DIV style="clear: both"&gt;&lt;/DIV&gt;
&lt;/ASIDE&gt;

&lt;P&gt;Thanks &lt;IMG src="https://emoji.discourse-cdn.com/twitter/slight_smile.png?v=12" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 10:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/minimum-permission-for-a-user-to-call-api-endpoint-gettenant/m-p/7250147#M3321</guid>
      <dc:creator />
      <dc:date>2024-06-10T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Minimum permission for a user to call API endpoint gettenant?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/minimum-permission-for-a-user-to-call-api-endpoint-gettenant/m-p/7250148#M3322</link>
      <description>&lt;P&gt;Hey Wabbas, thanks for your reply.&lt;BR /&gt;
It worked, It was just masked by the tenant_role of my subtenant, which was not allowed to read the tenant.&lt;BR /&gt;
Thanks &lt;IMG src="https://emoji.discourse-cdn.com/twitter/slight_smile.png?v=12" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 12:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/minimum-permission-for-a-user-to-call-api-endpoint-gettenant/m-p/7250148#M3322</guid>
      <dc:creator />
      <dc:date>2024-06-10T12:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Minimum permission for a user to call API endpoint gettenant?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/minimum-permission-for-a-user-to-call-api-endpoint-gettenant/m-p/7250149#M3323</link>
      <description>&lt;P&gt;I believe you will need to give ‘&lt;STRONG&gt;Read&lt;/STRONG&gt; or &lt;STRONG&gt;Full&lt;/STRONG&gt;’ Access to the ‘&lt;STRONG&gt;Tenant&lt;/STRONG&gt;’ permission on the Tenant/User role. Please note that this will give the user access to see all tenants.&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot 2024-06-10 at 13.37.14"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149533i9516026E1C5F190B/image-size/large?v=v2&amp;amp;px=2000" role="button" title="d174cd540362595906edda4a01f12f4ad87a0edf.png" alt="d174cd540362595906edda4a01f12f4ad87a0edf.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 12:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/minimum-permission-for-a-user-to-call-api-endpoint-gettenant/m-p/7250149#M3323</guid>
      <dc:creator />
      <dc:date>2024-06-10T12:38:00Z</dc:date>
    </item>
  </channel>
</rss>

