<?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 Problem calling delete records API fro within an app in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Problem-calling-delete-records-API-fro-within-an-app/m-p/291236#M1603</link>
    <description>&lt;P&gt;We have an app that creates Events that we use for masking Problems.&amp;nbsp; We need the ability to remove those events via endpoint '&lt;SPAN&gt;/platform/storage/record/v1/delete:execute', however that is not part of the SDK and we cannot figure out a way to properly call that endpoint from within our application.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Dec 2025 14:36:49 GMT</pubDate>
    <dc:creator>johnacreek</dc:creator>
    <dc:date>2025-12-10T14:36:49Z</dc:date>
    <item>
      <title>Problem calling delete records API fro within an app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Problem-calling-delete-records-API-fro-within-an-app/m-p/291236#M1603</link>
      <description>&lt;P&gt;We have an app that creates Events that we use for masking Problems.&amp;nbsp; We need the ability to remove those events via endpoint '&lt;SPAN&gt;/platform/storage/record/v1/delete:execute', however that is not part of the SDK and we cannot figure out a way to properly call that endpoint from within our application.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 14:36:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Problem-calling-delete-records-API-fro-within-an-app/m-p/291236#M1603</guid>
      <dc:creator>johnacreek</dc:creator>
      <dc:date>2025-12-10T14:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling delete records API fro within an app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Problem-calling-delete-records-API-fro-within-an-app/m-p/291299#M1604</link>
      <description>&lt;P&gt;Hello Johna.&lt;BR /&gt;The record level deletion api's intention is to delete PII / sensitive data that was ingested. This is why there are some limits to accessing/usability of this API. (&amp;nbsp;&lt;A title="Record Deletion in Grail Doc" href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/grail/organize-data/record-deletion-in-grail" target="_blank" rel="noopener"&gt;Record Deletion in Grail Doc&lt;/A&gt;&amp;nbsp;)&lt;BR /&gt;There is also a APP to support by apply those deletions called&amp;nbsp;&amp;nbsp;&lt;A title="Sensitive Data Center" href="https://www.dynatrace.com/hub/detail/sensitive-data-center" target="_blank" rel="noopener"&gt;Sensitive Data Center.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For your use case you could consider writing those events to a separate bucket and utilize the retention period to auto delete older events.&lt;BR /&gt;&lt;BR /&gt;Hope that helps&lt;BR /&gt;BR&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 09:16:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Problem-calling-delete-records-API-fro-within-an-app/m-p/291299#M1604</guid>
      <dc:creator>StefanSchinwald</dc:creator>
      <dc:date>2025-12-11T09:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling delete records API fro within an app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Problem-calling-delete-records-API-fro-within-an-app/m-p/291300#M1605</link>
      <description>&lt;P&gt;Hi johnacreek,&lt;/P&gt;
&lt;P&gt;If the endpoint is not part of the SDK you can still call it using a &lt;STRONG&gt;fetch&lt;/STRONG&gt; function.&lt;/P&gt;
&lt;P&gt;You don't even need to worry about the authentication since it's handled automatically when you call the endpoint within your app ui or app function.&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;LI-CODE lang="javascript"&gt;await fetch('/platform/storage/record/v1/delete:execute')
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I believe your app and user should have the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;storage:records:delete&lt;/STRONG&gt; permission scopes&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 09:27:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Problem-calling-delete-records-API-fro-within-an-app/m-p/291300#M1605</guid>
      <dc:creator>dani_coll</dc:creator>
      <dc:date>2025-12-11T09:27:28Z</dc:date>
    </item>
  </channel>
</rss>

