Delete an inference endpoint
DELETE
/_inference/{inference_id} This API requires the manage_inference cluster privilege (the built-in inference_admin role grants this privilege).
Parameters
path Path Parameters
| Name | Type |
|---|---|
inference_id
required
The inference identifier. | type TypesId = string |
query Query Parameters
| Name | Type |
|---|---|
dry_run 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. | boolean |
force When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields. | boolean |
Responses
200 application/json
type InferenceTypesDeleteInferenceEndpointResult = interface TypesAcknowledgedResponseBase {
acknowledged: boolean;
} & { pipelines: string[]; }
acknowledged: boolean;
} & { pipelines: string[]; }