<?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 Platform API authentication with access tokens support in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Platform-API-authentication-with-access-tokens-support/m-p/264055#M3471</link>
    <description>&lt;P&gt;According to the docs I should be able to call the platform API (specifically the openpipeline API) using an access token with the correct scope:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET --url https://{environmentid}.apps.dynatrace.com/platform/openpipeline/v1/configurations  --header 'Authorization: Api-Token dt0c01.xxxxxx.xxxxxxxxxxxx&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;But when I do that it returns&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;{"error":{"code":401,"message":"Unsupported authorization scheme 'Api-Token'. Dynatrace platform APIs require the authorization scheme 'Bearer' [....] }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;I believe this implies it only supports OAuth client authentication, which is not what the documentation seems to suggest.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Am I missing anything? I would really prefer to not create OAuth clients at this point if possible.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;For reference, the docs I'm referring to are here&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/openpipeline/reference/openpipeline-api/configurations-api/get-all" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/openpipeline/reference/openpipeline-api/configurations-api/get-all&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2025 12:21:37 GMT</pubDate>
    <dc:creator>wefsacsdf</dc:creator>
    <dc:date>2025-12-15T12:21:37Z</dc:date>
    <item>
      <title>Platform API authentication with access tokens support</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Platform-API-authentication-with-access-tokens-support/m-p/264055#M3471</link>
      <description>&lt;P&gt;According to the docs I should be able to call the platform API (specifically the openpipeline API) using an access token with the correct scope:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET --url https://{environmentid}.apps.dynatrace.com/platform/openpipeline/v1/configurations  --header 'Authorization: Api-Token dt0c01.xxxxxx.xxxxxxxxxxxx&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;But when I do that it returns&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;{"error":{"code":401,"message":"Unsupported authorization scheme 'Api-Token'. Dynatrace platform APIs require the authorization scheme 'Bearer' [....] }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;I believe this implies it only supports OAuth client authentication, which is not what the documentation seems to suggest.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Am I missing anything? I would really prefer to not create OAuth clients at this point if possible.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;For reference, the docs I'm referring to are here&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/openpipeline/reference/openpipeline-api/configurations-api/get-all" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/openpipeline/reference/openpipeline-api/configurations-api/get-all&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 12:21:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Platform-API-authentication-with-access-tokens-support/m-p/264055#M3471</guid>
      <dc:creator>wefsacsdf</dc:creator>
      <dc:date>2025-12-15T12:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Platform API authentication. Are access tokens supported?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Platform-API-authentication-with-access-tokens-support/m-p/266546#M3549</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/81562"&gt;@wefsacsdf&lt;/a&gt;! Have you managed to find the answer to your question? It would be great if you share it with the Community &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 16:20:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Platform-API-authentication-with-access-tokens-support/m-p/266546#M3549</guid>
      <dc:creator>GosiaMurawska</dc:creator>
      <dc:date>2025-01-02T16:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Platform API authentication. Are access tokens supported?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Platform-API-authentication-with-access-tokens-support/m-p/266558#M3558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77704"&gt;@GosiaMurawska&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I had to create an OAuth client in the end, and authenticate that way.&lt;/P&gt;&lt;P&gt;It seems the docs have been updated to reflect that now, so hopefully others will no longer be as thoroughly confused as I was!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although I see they've left the 'also' in there, implying there definitely was another authentication method listed in the docs and I'm definitely not just going mad &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can execute this request &lt;STRONG&gt;also&lt;/STRONG&gt; with an OAuth2 client with&amp;nbsp;openpipeline:configurations:read&amp;nbsp;permission.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/openpipeline/reference/openpipeline-api/configurations-api/get-all" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/openpipeline/reference/openpipeline-api/configurations-api/get-all&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 16:59:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Platform-API-authentication-with-access-tokens-support/m-p/266558#M3558</guid>
      <dc:creator>wefsacsdf</dc:creator>
      <dc:date>2025-01-02T16:59:42Z</dc:date>
    </item>
  </channel>
</rss>

