DELETE管理接口

清除 GitHub Release Webhook Secret

清除后该项目的 webhook 接收端点会拒绝所有推送。

URL

/api/v1/admin/projects/{projectKey}/github-webhook

鉴权方式

需要管理员 JWT 或 API Key,二者等价(Authorization: Bearer <token>)

请求参数

Path 参数

名称类型必填说明
projectKeystring项目主键 project_key(大小写不敏感)

Header 参数

名称类型必填说明
AuthorizationstringBearer <管理员 JWT 或 API Key>

该接口无需请求体。

响应示例

200 响应

{
  "enabled": true,
  "payload_path": "/api/v1/webhooks/github/verhub",
  "content_type": "application/json",
  "secret_hint": "7ba3f9",
  "secret_length": 54,
  "secret_updated_at": 1760000000
}
DELETE

Try It Out

请求 URL 预览

/api/v1/admin/projects/verhub/github-webhook