Skip to main content
Version: 2.0

Delete LLM API Definition

The Delete LLM API allows users to remove a previously configured custom Large Language Model (LLM) from their Vectara account. This functionality is essential for managing active LLM configurations and ensuring that only relevant models are available for use. Built-in LLMs cannot be deleted, ensuring that core system models remain accessible.

By providing an LLM identifier, users can permanently delete a model configuration, freeing up resources and maintaining an organized list of available LLMs.

Delete LLM Request and Response Details

To delete a custom LLM, send a DELETE request to /v2/llms/{llm_id}. The request must include the llm_id parameter in the URL path to specify which LLM to delete.

If successful, the API responds with HTTP 204 No Content status, confirming the LLM deletion.

Error responses

  • 403 Forbidden – The user does not have permission to delete the specified LLM.
  • 404 Not Found – The LLM ID does not exist or has already been deleted.

REST 2.0 URL

Delete LLM Endpoint Address

Vectara exposes an HTTP endpoint at the following URL to deleted a created Large Language Model (LLM):
https://api.vectara.io/v2/llms/:llm_id