delete by query api