workflowCategoryCreate

Create a workflow category. The workflowCategoryCreate 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 workflowCategoryCreate ($attributes: WorkflowCategoryAttributes!) {
  workflowCategoryCreate (attributes: $attributes) {
      errors
      workflowCategory {
        id
        name
      }
  }
}

ArgumentsLink to Arguments section

{
  "attributes": {
    "name": ""
  }
}
Name Type Description
attributes WorkflowCategoryAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
workflowCategory WorkflowCategory