André Amorim

Crafting Web Experiences

//

Create a BitBucket Private Repository via Curl

curl POST -v -u <bitbucket-user>:<bitbucket-password>  -H "Content-Type: application/json" 
    "https://api.bitbucket.org/2.0/repositories/<username-or-organization>/<repo>" 
    -d '{"scm": "git", "is_private": "true", "fork_policy": "no_public_forks" }'

Published date:

Modified date: