implement optional gadget DELETE request