<?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: API Access in HPE Morpheus Enterprise Software</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250623#M3797</link>
    <description>&lt;P&gt;Create a service account with the role permssions needed, impersonate the user and grab their access token. The API honours the role permissions as shown below.&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;curl -k --request GET \ 
     --url &lt;A href="https://morpheuslab/api/networks" target="_blank"&gt;https://morpheuslab/api/networks&lt;/A&gt; \
     --header 'accept: application/json' \
     --header 'authorization: Bearer 461d14a5-78xxxxxxxxxx5d218c44fb5'  
{"success":false,"msg":"You do not have permissions to access this api endpoint"}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 31 Oct 2023 15:34:13 GMT</pubDate>
    <dc:creator>Ollie-Phillips</dc:creator>
    <dc:date>2023-10-31T15:34:13Z</dc:date>
    <item>
      <title>API Access</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250620#M3794</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;How can I configure read-only API access for Bearer to retrieve a list of all instances, including information such as instance OS details and the instance owner’s email ID? The API key should have read-only access only. Please assist.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250620#M3794</guid>
      <dc:creator />
      <dc:date>2023-10-31T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: API Access</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250621#M3795</link>
      <description>&lt;P&gt;You could set everything to Read only to remove write access over API.  Or, if you want to do it granularly set all access to None and start with Features &amp;gt; Provisioning  &amp;gt; Instance - List  with Read permission.  I haven’t tested but that would be a good first step given the data you want.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 16:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250621#M3795</guid>
      <dc:creator>Ollie-Phillips</dc:creator>
      <dc:date>2023-10-31T16:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: API Access</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250622#M3796</link>
      <description>&lt;P&gt;Thanks I got it but now confusion is which access permissions i need to select in the role for my requirement and there are many. If you can guide me on that would be really helpful. I am on Morpheus version 6.0.5. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 16:35:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250622#M3796</guid>
      <dc:creator />
      <dc:date>2023-10-31T16:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: API Access</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250623#M3797</link>
      <description>&lt;P&gt;Create a service account with the role permssions needed, impersonate the user and grab their access token. The API honours the role permissions as shown below.&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;curl -k --request GET \ 
     --url &lt;A href="https://morpheuslab/api/networks" target="_blank"&gt;https://morpheuslab/api/networks&lt;/A&gt; \
     --header 'accept: application/json' \
     --header 'authorization: Bearer 461d14a5-78xxxxxxxxxx5d218c44fb5'  
{"success":false,"msg":"You do not have permissions to access this api endpoint"}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Oct 2023 15:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/api-access/m-p/7250623#M3797</guid>
      <dc:creator>Ollie-Phillips</dc:creator>
      <dc:date>2023-10-31T15:34:13Z</dc:date>
    </item>
  </channel>
</rss>

