我正在尝试使用 HTTP DELETE API 删除 Bitbucket(服务器版)中的拉取请求,但正如 bitbucket https://docs.atlassian.com/bitbucket-server/rest/5.1.0/bitbucket-rest.html?utm_source=%2Fstatic%2Frest%2Fbitbucket-server%2Flatest%2Fbitbucket-rest.html&utm_medium=301#idm45588159968240 所建议的那样,我无法实现。
有人可以帮忙获取示例 json 条目以删除拉取请求吗?
答案 0 :(得分:0)
你能试试这个吗 curl -X DELETE --user 用户:密码 https://api.bitbucket.org/2.0/repositories/{owner}/{repo_slug}