title: Delete team project from Visual Studio Team Services
body: <p>I am using Team Services on domain visualstudio.com and I need to delete one project, I found out that I need to use command prompt to delete projects, but when I tried the script it seemed that it doesn't work</p>
  
  <p>My Script is,</p>
  
  <pre><code>TfsDeleteProject 
    /force collection:https://mytfs.visualstudio.com/DefaultCollection MyProject
  </code></pre>
  
  <p>My first mistake was that I didn't append DefaultCollection to the URL, but now I get error that I don't have privileges.</p>
  
  <p><img src="https://i.stack.imgur.com/AJsxU.png" alt=""></p>