Delete an inference endpoint
Generally available
Path parameters
-
task_type
string Required The task type
Values are
sparse_embedding
,text_embedding
,rerank
,completion
, orchat_completion
. -
inference_id
string Required The inference identifier.
DELETE
/_inference/{task_type}/{inference_id}
Console
DELETE /_inference/sparse_embedding/my-elser-model
curl \
--request DELETE 'http://api.example.com/_inference/{task_type}/{inference_id}' \
--header "Authorization: $API_KEY"