diff --git a/src/Document.php b/src/Document.php index 5b3647d1..d47d0c4c 100644 --- a/src/Document.php +++ b/src/Document.php @@ -79,11 +79,12 @@ public function update(array $partialDocument, array $options = []): array } /** + * @param array $options * @return array * @throws TypesenseClientError|HttpClientException */ - public function delete(): array + public function delete(array $options = []): array { - return $this->apiCall->delete($this->endpointPath()); + return $this->apiCall->delete($this->endpointPath(), true, $options); } }