Skip to main content
Version: 2.0

Delete a corpus and all its data

DELETE 

https://api.vectara.io/v2/corpora/:corpus_key

Permanently delete a corpus and all its associated data. The corpus_key uniquely identifies the corpus. For more information, see Corpus Key Definition.

Request

Path Parameters

    corpus_key CorpusKeyrequired

    Possible values: <= 50 characters, Value must match regular expression [a-zA-Z0-9_\=\-]+$

    The unique key identifying the corpus to delete.

Header Parameters

    Request-Timeout integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified seconds or time out.

    Request-Timeout-Millis integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified milliseconds or time out.

Responses

Successfully deleted a corpus.

Authorization: x-api-key

name: x-api-keytype: apiKeyin: header
curl -L -X DELETE 'https://api.vectara.io/v2/corpora/:corpus_key' \
-H 'x-api-key: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://api.vectara.io
Auth
Parameters
— pathrequired
— header
— header
ResponseClear

Click the Send API Request button above and see the response here!