pub async fn delete(index: &str, id: &str) -> Result<Response, Error>