Hello,
I'm using the Bitbucket Rest API to create new projects in Bitbucket (Data Center 8.19).
The project is created fine, but I don't find a property or additional API call to specify restrictions on repository settings.
The project to be created must have:
Default permissions: No Access
AND
Restrict changes to repository settings: Don't allow repository admins to manage permissions.
In the UI this is configured here:
Currently I create a project like this:
POST http://my-bitbucket/rest/api/latest/projects
{
"key": "myproject",
"name": "my project name",
"description" : "my project description"
}
Thanks in advance for your support
Thiemo
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.