github - 如何删除 GitHub 状态检查?

标签 github teamcity github-api

我有一个 TeamCity 生成的 GitHub 状态检查,我正在尝试删除它(不仅仅是禁用它)。

我已经尝试过(添加换行符以提高可读性):

curl -u <myusername>:<mytoken>
 -X DELETE
https://:github_instance/api/v3/repos/:user/:repo/statuses/:hash

我的网址来自:
curl -u <myusername>:<mytoken> 
https://:github_instance/api/v3/repos/:user/:repo/statuses/:branch_name

我错过了什么吗?

最佳答案

我看到 GitHub API V3 Repository Statuses (对于 github.com 或私有(private) GitHub 企业实例)包括:

  • 创建状态
  • 列出特定引用
  • 的状态
  • 获取特定引用
  • 的组合状态

    据我所知,没有删除。

    关于github - 如何删除 GitHub 状态检查?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48106989/

    相关文章:

    html - Github 页面 SCSS 文件未被读取

    Github Action scp Action 失败

    git - 涂抹错误: Error downloading

    teamcity - 从 Teamcity (Windows) 卸载 Build Agent

    github - 我可以在没有后端服务器的情况下通过 Chrome 扩展程序的 Github 帐户对用户进行身份验证吗?

    github - 类似 'Creative Commons BY-NC-SA' 的许可证,但适用于 Github 上的软件

    sql-server - 迁移到 TeamCity 中的 SQL Server : A driver for the source database not found

    regex - 按缩进模式处理文本文件

    github - 是否有一个稳定的 url 可以始终在 github 中获取默认分支?

    Github 个人访问 token ,用于访问私有(private)仓库的 :/repos/:user/:repo/contents