-
Bug
-
Resolution: Fixed
-
Medium
-
1
-
794
-
Trying to change fork_policy on an existing Bitbucket repo via API using PUT doesn't change the fork settings on the repo:
Steps to reproduce:
- Send the following API request to change the fork policy of an existing Bitbucket repo from 'private forks only' to 'no forks'
#!JSON curl -X PUT -v -u username:password -H "Content-Type: application/json" https://api.bitbucket.org/2.0/repositories/<username>/<reposlug> -d '{"fork_policy": "no_forks"}'