Hi All,
We wanted to know what would be the simplest way to delete hundreds of Repostiories in a data centre. From the shared home directory can I just go and delete all the repository folders?
Thanks
Ram
Hey @Ramprasad Baliga you can use the REST API to perform that operation https://developer.atlassian.com/server/bitbucket/reference/rest-api/.
Sending a DELETE request to "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}" resource is what might help youhttps://docs.atlassian.com/bitbucket-server/rest/7.0.1/bitbucket-rest.html#idp171
Thanks,Maciej
Hi Maciej,
Thanks for the response! I will check this out.
Regards
It looks like you're new here. Sign in or register to get started.