workflowDuplicate

Create a duplicate of a workflow. The workflowDuplicate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: workflow:write

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

ArgumentsLink to Arguments section

{
  "id": "456123"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
errors List (String)  
workflow Workflow