Skip to main content

Delete Corpus

Vectara exposes a REST endpoint at the following URL to ingest content into a corpus:
https://api.vectara.io/v1/delete-corpus
This page describes the details of interacting with this endpoint.

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 that the corpus_id assigned to the corpus will not be reused.

message DeleteCorpusRequest {
// The customer id that contains the corpus to be deleted.
uint32 customer_id = 1;
// The corpus id to be deleted.
uint32 corpus_id = 2;
}

message DeleteCorpusResponse {
Status status = 1;
}