gedi-geode-rest-app/src/main/java/gedi/solutions/geode/rest/app/GeodeRegionRestService.java
@DeleteMapping(path = "{regionName}/{key}",produces = "application/json")
	public String delete(@PathVariable String regionName,@PathVariable  String key)
	{
		Region<String,PdxInstance> region   = this.geode.getRegion(regionName);
		
		PdxInstance pdx = region.remove(key);
		
		if(pdx == null)
			return null;
		
		return JSONFormatter.toJSON(pdx);
		
	}
@DeleteMapping(path = "{regionName}/{key}",produces = "application/json")
	public String delete(@PathVariable String regionName,@PathVariable  String key)
	{
		Region<String,PdxInstance> region   = this.geode.getRegion(regionName);
		
		PdxInstance pdx = region.remove(key);
		
		if(pdx == null)
			return null;
		
		return JSONFormatter.toJSON(pdx);
		
	}
@ DeleteMapping ( path = "{regionName}/{key}" , produces = "application/json" ) public String delete ( @ PathVariable String regionName , @ PathVariable String key ) { Region < String , PdxInstance > region = this . geode . getRegion ( regionName ) ; PdxInstance pdx = region . remove ( key ) ; if ( pdx == null ) return null ; return JSONFormatter . toJSON ( pdx ) ; }
Delete a region entry by a key
@param regionName the region name
@param key the region key
@return the deleted region value in JSON format
Delete a region entry by a key