class StorageRestController extends HerdBaseController {

    @RequestMapping(value = STORAGE_URI_PREFIX + "/{storageName}", method = RequestMethod.DELETE)
    @Secured(SecurityFunctions.FN_STORAGES_DELETE)
    Storage deleteStorage(@PathVariable("storageName") String storageName)
    {
        return storageService.deleteStorage(new StorageKey(storageName));
    }

}