public void deleteWorkflow(String workflowId, boolean archiveWorkflow) {
        Validate.notBlank(workflowId, "Workflow id cannot be blank");

        Object[] params = new Object[] {"archiveWorkflow", archiveWorkflow};
        deleteWithUriVariables(params, "workflow/{workflowId}/remove", workflowId);
    }
Removes a workflow from the system

@param workflowId the id of the workflow to be deleted
@param archiveWorkflow flag to indicate if the workflow and associated tasks should be
    archived before deletion
client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java