code: public void deleteWorkflow(String workflowId, boolean archiveWorkflow) {
          Preconditions.checkArgument(StringUtils.isNotBlank(workflowId), "Workflow id cannot be blank");
  
          Object[] params = new Object[]{"archiveWorkflow", archiveWorkflow};
          delete(params, "workflow/{workflowId}/remove", workflowId);
      }
docs: Removes a workflow from the system
  
  @param workflowId      the id of the workflow to be deleted
  @param archiveWorkflow flag to indicate if the workflow should be archived before deletion