REST gateway example: Clearing data grid map entries
You can use the HTTP DELETE method of the REST gateway to clear a map in a data grid.
Clearing an individual entry
To delete an individual entry, use the DELETE method and the key name of the object:DELETE http://mydatagrid.ibm.com/resources/datacaches/MyDataGrid/MyDataGrid/my.data.item
Clearing an entire map on the data grid
To clear an entire map in the data grid, use the HTTP DELETE method and omit the key portion of the URI. For example, to clear the MyDataMap.LUT map on the MyDataGrid data grid, use the following operation:DELETE http://mydatagrid.ibm.com/resources/datacaches/MyDataGrid/MyDataMap.LUT