workflowUpdate

Update a workflow. The workflowUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: workflow:write

For a complete list of input attributes see the WorkflowAttributes type

mutation workflowUpdate ($id: ID!, $attributes: WorkflowAttributes!) {
  workflowUpdate (id: $id, attributes: $attributes) {
      errors
      workflow {
        description
        enabled
        format
        id
        isolateToUserId
        keepUpdated
        name
        recipe
        standard
        targetClass
        workflowCategoryId
        workflowSchedule
      }
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "attributes": {
    "workflowCategoryId": "456123",
    "name": "",
    "recipe": "",
    "description": "",
    "enabled": true,
    "isolateToUserId": "456123",
    "keepUpdated": true,
    "format": ""
  }
}
Name Type Description
id ID  
attributes WorkflowAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
workflow Workflow