Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Ollama → delete_model_ollama_api_delete__url_idx__delete

AI-generated

Summary

Delete a model in the Ollama resource by specifying the model's URL index, sending a DELETE request with a JSON body containing the model's name.

Inputs

  • Url_idx (required) — The identifier of the URL path parameter indicating which model to delete.
  • Name (required) — The name of the model to delete, provided in the JSON request body.
  • Skip Authentication — Whether to skip authentication; if false or omitted, uses Open WebUI Auth credentials.

Output shape

a single API response confirming the deletion or error details

The operation performs a DELETE request to '/ollama/api/delete/{url_idx}' with a required JSON body specifying the model name. Authentication is required unless skipped. Response shape depends on the API endpoint's behavior.

Links

Discussion