Delete a typed JSON document from a specific index based on its id.