updateWorkflow(projectReference: String!, workflowId: String!, input: UpdateWorkflowInput!): WorkflowSource!
Requires project.runs.write.
Arguments
Input fields
input
Response
Returns WorkflowSource!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation UpdateWorkflow($projectReference: String!, $workflowId: String!, $input: UpdateWorkflowInput!) {
updateWorkflow(projectReference: $projectReference, workflowId: $workflowId, input: $input) {
id
name
description
editMode
schedulable
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001",
"workflowId": "00000000-0000-4000-8000-000000000001",
"input": {}
}