UnAuthorizedAccessTokenException {
URL url = config.resolveURL(String.format("data/datasets/%s", datasetName));
HttpResponse response = restClient.execute(HttpMethod.DELETE, url, config.getAccessToken(),
HttpURLConnection.HTTP_NOT_FOUND);
if (response.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) {
throw new DatasetNotFoundException(datasetName);
}
}