<?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 Deleting a table using REST API? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Deleting-a-table-using-REST-API/m-p/584154#M17899</link>
    <description>&lt;P&gt;Is it possible to delete a table in a dataset using the REST API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to this post it is possible:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Getting-HTTP-error-429-while-deleting-the-table/td-p/193663" target="_self"&gt;https://community.powerbi.com/t5/Developer/Getting-HTTP-error-429-while-deleting-the-table/td-p/193663&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the docs do not mention it, and my own attempts were unsuccesful with a 404 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C# code:&lt;/P&gt;&lt;PRE&gt;string url = $"https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/tables/{tableName}"; 
HttpWebRequest request = System.Net.WebRequest.Create(url) as System.Net.HttpWebRequest;
request.KeepAlive = true;
request.Method = "DELETE";

//Add token to the request header
request.Headers.Add("Authorization", String.Format("Bearer {0}", token));

using (var response = (HttpWebResponse)request.GetResponse()) // needed!
{

}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2018 12:41:00 GMT</pubDate>
    <dc:creator>tripleacoder</dc:creator>
    <dc:date>2018-12-12T12:41:00Z</dc:date>
    <item>
      <title>Deleting a table using REST API?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Deleting-a-table-using-REST-API/m-p/584154#M17899</link>
      <description>&lt;P&gt;Is it possible to delete a table in a dataset using the REST API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to this post it is possible:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Getting-HTTP-error-429-while-deleting-the-table/td-p/193663" target="_self"&gt;https://community.powerbi.com/t5/Developer/Getting-HTTP-error-429-while-deleting-the-table/td-p/193663&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the docs do not mention it, and my own attempts were unsuccesful with a 404 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C# code:&lt;/P&gt;&lt;PRE&gt;string url = $"https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/tables/{tableName}"; 
HttpWebRequest request = System.Net.WebRequest.Create(url) as System.Net.HttpWebRequest;
request.KeepAlive = true;
request.Method = "DELETE";

//Add token to the request header
request.Headers.Add("Authorization", String.Format("Bearer {0}", token));

using (var response = (HttpWebResponse)request.GetResponse()) // needed!
{

}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 12:41:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Deleting-a-table-using-REST-API/m-p/584154#M17899</guid>
      <dc:creator>tripleacoder</dc:creator>
      <dc:date>2018-12-12T12:41:00Z</dc:date>
    </item>
  </channel>
</rss>

