跳转到主要内容
PATCH
Update workflow

请求头

X-Workspace-Id
string

Workspace ID

路径参数

id
string
必填

请求体

application/json
name
string

Name of the workflow

示例:

"Group Workflow"

content
object

Content of the workflow in JSON format

filePath
string

File path for the workflow

示例:

"workflows/vulnerability-scan.yaml"

响应

200 - application/json

Updated workflow object

id
string
必填
createdAt
string<date-time>
必填
updatedAt
string<date-time>
必填
name
string
必填
content
object
必填
filePath
string
必填
isCanDelete
boolean
必填
isCanEdit
boolean
必填