Skip to main content
PATCH
更新 webhook 端点

授权

Authorization
string
header
必填

Bearer 令牌身份验证

路径参数

id
string<uuid>
必填

请求体

application/json
name
string
Required string length: 1 - 120
url
string<uri>
events
enum<string>[]
Minimum array length: 1
可用选项:
job.created,
job.status_changed,
job.progress,
job.completed,
job.failed,
job.cancelled,
job.expired,
video.created,
video.status_changed,
video.progress,
video.completed,
video.failed,
video.cancelled,
video.expired,
batch.created,
batch.status_changed,
batch.progress,
batch.completed,
batch.failed,
batch.cancelled,
batch.expired
status
enum<string>
可用选项:
active,
disabled

响应

webhook 端点已更新

id
string
必填
workspaceId
string
必填
name
string
必填
url
string
必填
status
enum<string>
必填
可用选项:
active,
disabled,
deleted
events
enum<string>[]
必填
可用选项:
job.created,
job.status_changed,
job.progress,
job.completed,
job.failed,
job.cancelled,
job.expired,
video.created,
video.status_changed,
video.progress,
video.completed,
video.failed,
video.cancelled,
video.expired,
batch.created,
batch.status_changed,
batch.progress,
batch.completed,
batch.failed,
batch.cancelled,
batch.expired
hasSecret
boolean
必填
createdBy
string | null
createdAt
string<date-time> | null
updatedAt
string<date-time> | null
deletedAt
string<date-time> | null
最后修改于 2026年10月2日