# Delete an inference endpoint **DELETE /_inference/{task_type}/{inference_id}** **All methods and paths for this operation:**
DELETE /_inference/{inference_id}
DELETE /_inference/{task_type}/{inference_id}
## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth ## Parameters ### Path parameters - **task_type** (string) The task type - **inference_id** (string) The inference identifier. ### Query parameters - **dry_run** (boolean) When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint. - **force** (boolean) When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields. ## Responses ### 200 #### Body: application/json (object) - **acknowledged** (boolean) For a successful response, this value is always true. On failure, an exception is returned instead. - **pipelines** (array[string]) [Powered by Bump.sh](https://bump.sh)