Delete an embedding model
DELETE/embedding-models/:embedding_model_id
Deletes an embedding model. An embedding model that a vector index of a pipeline uses cannot be deleted: the request returns HTTP 409 until every vector index that uses the embedding model is deleted, with DELETE /pipelines/{pipeline_id}/search-indexers/{indexer_id} or with the pipeline.
Permissions. Write on the embedding model.
Request
Responses
- 204
- 401
- 403
- 404
- 409
The embedding model was deleted. The response has no body.
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
The key lacks write permission on the embedding model (Unauthorized: write access to Embedding Model required, with Insufficient permissions to delete EmbeddingModel in details.error).
No embedding model with this identifier exists (Embedding Model not found, with the identifier in details.id).
A vector index of a pipeline uses the embedding model (Conflict related error).