<?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>article How to delete Network Zone in Managed cluster in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-delete-Network-Zone-in-Managed-cluster/ta-p/211300</link>
    <description>&lt;P&gt;If you have Network Zones in managed cluster that are not using any ActiveGate's or OneAgent's and if you would like to delete those you can follow below steps :&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Network Zone with no ActiveGate or OneAgent looks like below :&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhushangholap_0-1683120645740.png" style="width: 579px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11449iDC623DDB247C4758/image-dimensions/579x301?v=v2" width="579" height="301" role="button" title="bhushangholap_0-1683120645740.png" alt="bhushangholap_0-1683120645740.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;If you use &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/network-zones/del-network-zone" target="_self"&gt;Network Zone delete API&lt;/A&gt;, you might get&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;{
  "error": {
    "code": 400,
    "message": "Deletion of network zone has to be done via cluster API on this cluster."
  }
}​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Or if you try cluster API you might get below error :&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;{ "error": { "code": 401, "message": "Token Authentication failed" } }
​&lt;/LI-CODE&gt;This can be if you are missing&amp;nbsp;&lt;STRONG&gt;ServiceProviderAPI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;scope. And you cant find this scope at tenant level.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;On Managed clusters Network Zones are cluster wide hence they can not be deleted at tenant/environment level. They have to be deleted at cluster level using Cluster API.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;To get an API-Token with the ServiceProviderAPI scope, go into the CMC of the Cluster under Settings then to API Tokens. Click on Generate Token under&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Cluster Token&lt;/STRONG&gt;&lt;SPAN&gt;, give it a name and enable&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ServiceProviderAPI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;for the access scope.&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhushangholap_1-1683120955491.png" style="width: 583px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11450iB69FA4A8DF60D604/image-dimensions/583x463?v=v2" width="583" height="463" role="button" title="bhushangholap_1-1683120955491.png" alt="bhushangholap_1-1683120955491.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The new generated token should now be able to authenticate for the deletion REST API endpoint for Network Zones. Which you can use to delete the network zone.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You can also refer &lt;A href="https://www.dynatrace.com/support/help/managed-cluster/cluster-api/basics/cluster-api-authentication?_ga=2.17564153.1121379434.1683015919-70278990.1656946581#cluster-configuration-token" target="_self"&gt;cluster-configuration-token&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 08 May 2023 13:22:26 GMT</pubDate>
    <dc:creator>bhushangholap</dc:creator>
    <dc:date>2023-05-08T13:22:26Z</dc:date>
    <item>
      <title>How to delete Network Zone in Managed cluster</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-delete-Network-Zone-in-Managed-cluster/ta-p/211300</link>
      <description>&lt;P&gt;If you have Network Zones in managed cluster that are not using any ActiveGate's or OneAgent's and if you would like to delete those you can follow below steps :&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Network Zone with no ActiveGate or OneAgent looks like below :&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhushangholap_0-1683120645740.png" style="width: 579px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11449iDC623DDB247C4758/image-dimensions/579x301?v=v2" width="579" height="301" role="button" title="bhushangholap_0-1683120645740.png" alt="bhushangholap_0-1683120645740.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;If you use &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/network-zones/del-network-zone" target="_self"&gt;Network Zone delete API&lt;/A&gt;, you might get&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;{
  "error": {
    "code": 400,
    "message": "Deletion of network zone has to be done via cluster API on this cluster."
  }
}​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Or if you try cluster API you might get below error :&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;{ "error": { "code": 401, "message": "Token Authentication failed" } }
​&lt;/LI-CODE&gt;This can be if you are missing&amp;nbsp;&lt;STRONG&gt;ServiceProviderAPI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;scope. And you cant find this scope at tenant level.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;On Managed clusters Network Zones are cluster wide hence they can not be deleted at tenant/environment level. They have to be deleted at cluster level using Cluster API.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;To get an API-Token with the ServiceProviderAPI scope, go into the CMC of the Cluster under Settings then to API Tokens. Click on Generate Token under&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Cluster Token&lt;/STRONG&gt;&lt;SPAN&gt;, give it a name and enable&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ServiceProviderAPI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;for the access scope.&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhushangholap_1-1683120955491.png" style="width: 583px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11450iB69FA4A8DF60D604/image-dimensions/583x463?v=v2" width="583" height="463" role="button" title="bhushangholap_1-1683120955491.png" alt="bhushangholap_1-1683120955491.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The new generated token should now be able to authenticate for the deletion REST API endpoint for Network Zones. Which you can use to delete the network zone.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You can also refer &lt;A href="https://www.dynatrace.com/support/help/managed-cluster/cluster-api/basics/cluster-api-authentication?_ga=2.17564153.1121379434.1683015919-70278990.1656946581#cluster-configuration-token" target="_self"&gt;cluster-configuration-token&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 08 May 2023 13:22:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/How-to-delete-Network-Zone-in-Managed-cluster/ta-p/211300</guid>
      <dc:creator>bhushangholap</dc:creator>
      <dc:date>2023-05-08T13:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete Network Zone in Managed cluster</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-delete-Network-Zone-in-Managed-cluster/tac-p/212114#M203</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/45861"&gt;@bhushangholap&lt;/a&gt;&amp;nbsp;Thank you for sharing this for all out Managed customers!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 19:15:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/How-to-delete-Network-Zone-in-Managed-cluster/tac-p/212114#M203</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-05-12T19:15:13Z</dc:date>
    </item>
  </channel>
</rss>

