Delete an LLM
DELETE/v2/llms/:llm_id
Delete a custom LLM connection. Built-in LLMs cannot be deleted.
Request
Path Parameters
llm_id stringrequired
The name of the LLM 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
- 204
- 403
- 404
The LLM was successfully deleted.
Permissions do not allow deleting this LLM.
- 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"
}
LLM not found.
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID cannot be 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...