更新 Webhook

通过其 ID 更新指定 Webhook 的设置

身份验证

AuthorizationBearer

Bearer 身份验证,格式为 Bearer <token>,其中 token 是您的身份验证令牌。

路径参数

hook_idstring必需格式: "uuid"
Webhook ID

请求

Webhook to create or update
namestring必需
Name of the Webhook
urlstring必需
HTTPS endpoint to delivery events to
eventslist of strings可选

响应

Webhook success response
account_idstring可选格式: "uuid"
activeboolean可选
app_idstring可选格式: "uuid"
deleted_atstring可选格式: "date-time"
eventslist of enums可选
idstring可选格式: "uuid"
inserted_atstring可选格式: "date-time"
namestring可选
project_idstring可选格式: "uuid"
secretstring可选
teamobject可选
team_idstring可选格式: "uuid"
updated_atstring可选格式: "date-time"
urlstring可选

错误

401
Unauthorized Error
404
Not Found Error