Skip to main content
Version: 2.0

Remove all documents and data in a corpus

POST 

/v2/corpora/:corpus_key/reset

Resets a corpus. This removes all documents and data from the corpus but keeps the corpus itself. The corpus_key uniquely identifies the corpus. For more information, see Create a corpus.

Request

Responses

Successfully reset the corpus. The space quota consumed by the corpus is freed.