class SampleResource {

	@DELETE
	@Path("/{id}")
	public Response delete(@PathParam("id") String id) {
		try {
			store.delete(id);
		} catch (IOException e) {
			e.printStackTrace();
			return Response.serverError().build();
		}

		return Response.noContent().build();
	}

}