Delete and create project with same name via API does not remove files
Closed
Delete and create project with same name via API does not remove files
Created by: jpiulac
Using API v3 via curl to:
- delete existing project
- create project (using the same name)
Fails to create a new empty project and instead creates a project containing the files from previously deleted project.
I was doing this under a group/namespace and have not tested using default (user) namespace.
steps to reproduce: curl -X DELETE http://gitlabserver.com/api/v3/projects/:id?private_token=:token curl -H "Content-Type:application/json" http://gitlabserver.com/api/v3/projects?private_token=:token -d "{ "name": "$1", "namespace_id": "$2" }"
Please register or sign in to reply