title: How to delete a GitLab repository using curl?
body: <p>I am able to achieve this with GitHub. But I am unable to do the same with GitLab. Currently, what I have is:</p>
  
  <pre><code>curl -u "$user:$token" -H "Content-Type:application/json" -H "PRIVATE-TOKEN:$token" \
  -X DELETE https://git.lab.com/api/v4/projects/$repo_name
  </code></pre>
  
  <p>And then I get this error:</p>
  
  <pre><code>curl: (35) error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
  </code></pre>
  
  <p>I already have a working script using curl to create a GitLab repository on the command line so my curl is working fine. I just needed the delete part.</p>