Saltar al contenido principal
PATCH
Update workflow

Encabezados

X-Workspace-Id
string

Workspace ID

Parámetros de ruta

id
string
requerido

Cuerpo

application/json
name
string

Name of the workflow

Ejemplo:

"Group Workflow"

content
object

Content of the workflow in JSON format

filePath
string

File path for the workflow

Ejemplo:

"workflows/vulnerability-scan.yaml"

Respuesta

200 - application/json

Updated workflow object

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