Delete a corpus and all its data
DELETE/v2/corpora/:corpus_key
Delete a corpus and all the data that it contains.
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
Responses
- 204
- 403
- 404
Successfully deleted a corpus.
Permissions do not allow deleting the corpus.
- application/json
- Schema
- Example (from schema)
Schema
messages message[]
The messages describing why the error occurred.
request_id string
The ID of the request that can be used to help Vectara support debug what went wrong .
{
"messages": [
"Internal server error."
],
"request_id": "string"
}
Corpus not found.
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID cannot found.
messages message[]
request_id string
ID of the request that can be used to help Vectara support debug what went wrong.
{
"id": "string",
"messages": [
"string"
],
"request_id": "string"
}
Loading...