workflowCategoryUpdate

Update a workflow category. The workflowCategoryUpdate 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 WorkflowCategoryAttributes type

mutation workflowCategoryUpdate ($id: ID!, $attributes: WorkflowCategoryAttributes!) {
  workflowCategoryUpdate (id: $id, attributes: $attributes) {
      errors
      workflowCategory {
        id
        name
      }
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "attributes": {
    "name": ""
  }
}
Name Type Description
id ID  
attributes WorkflowCategoryAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
workflowCategory WorkflowCategory