public void terminateWorkflow(String workflowId, String reason) {
        Validate.notBlank(workflowId, "workflow id cannot be blank");
        deleteWithUriVariables(
                new Object[] {"reason", reason}, "workflow/{workflowId}", workflowId);
    }
Terminates the execution of the given workflow instance

@param workflowId the id of the workflow to be terminated
@param reason the reason to be logged and displayed
client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java