Delete a repository via API

I went through the API documenataion at

However it doesn’t have an API to delete a project. What’s the API we should be using for project deletion?

The information you’re looking for is at

That’s not what I’m looking for. I’m looking for the api to delete a project not members.

My apologies. I meant to give you this:

Thanks for the information. That worked!

I’m having trouble with deleting a repository using NAMESPACE/PROJECT_NAME. However it works with the project id.

Below is the curl command used to delete the repo

curl -X DELETE -v

And the response is

{“error”:“404 Not Found”}

curl -H “Content-Type: application/json” -H “PRIVATE-TOKEN: XXXXXXXXXXXXX” -X DELETE “