Is there a way to rename a repository on Bitbucket using their API


Is it possible to rename an existing repository on Bitbucket using their REST API? I read the entire documentation of the Bitbucket API, but I couldn't find anything even remotely related. I'm asking perhaps I did miss something. Thank you!


Answers:


According to https://confluence.atlassian.com/display/BITBUCKET/repository+Resource+1.0:

PUT https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug} --data "name=new name"

This allows to update the visible name of a repository.