Skip to main content
Version: 1.0

Delete Corpus API Definition

The Delete Corpus API lets you delete a corpus. To delete a corpus, specify the customer_id and corpus_id. Upon successful completion, space quota consumed by the corpus will be freed, and the corpus will no longer be useable for future indexing or querying.

note

The corpus_id assigned to the corpus will not be reused.

tip

Check out our API Playground that lets you experiment with this REST endpoint to delete corpora.

REST Example

Delete Corpus REST Endpoint

Vectara exposes a REST endpoint at the following URL to delete a corpus:
https://api.vectara.io/v1/delete-corpus

The API Playground shows the full Delete Corpus REST definition.

gRPC Example

You can find the full Delete Corpus gRPC definition at admin.proto.