跳转到主要内容
PATCH
Update trigger

请求头

X-Workspace-Id
string

Workspace ID

路径参数

id
string
必填
triggerId
string
必填

请求体

application/json
cron
string
示例:

"0 2 * * 1"

config
object
enabled
boolean

响应

200 - application/json
id
string
必填
createdAt
string<date-time>
必填
updatedAt
string<date-time>
必填
projectWorkflowId
string
必填
type
enum<string>
必填
可用选项:
cron,
assets_added
config
object
必填
enabled
boolean
必填
cron
string | null
lastFiredAt
string<date-time> | null