cURL で bitbucket からリポジトリを削除する方法を知っている人はいますか?
現時点では、curl で bitbucket にリモート リポジトリを作成するスクリプトを作成しました。
#!/bin/bash
while read line
do
curl --user user:password https://api.bitbucket.org/1.0/repositories/ --data name=$line --data is_private=true --data owner=OWNER
done<repo_list.txt
しかし、今はcurlでbitbucketからそのリポジトリを削除できません
私は使用しています
curl -X DELETE --user user:password https://api.bitbucket.org/1.0/repositories/ --data name=$line --data is_private=true --data owner=OWNER
{"error": {"message": "'username'", "detail": " File \"/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2. 7/site-packages/piston/resource.py\"、208 行目、呼び出し中\n}
https://bitbucket.org/zhemao/bitbucket-cliユーザー アカウントからのみリポジトリを削除しますが、私が所属する他の所有者が所有するリポジトリを削除するオプションはありません。
何か案は ?