-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathinference.delete.json
53 lines (53 loc) · 1.49 KB
/
inference.delete.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"inference.delete": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-inference-api.html",
"description": "Delete an inference endpoint"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_inference/{inference_id}",
"methods": ["DELETE"],
"parts": {
"inference_id": {
"type": "string",
"description": "The inference Id"
}
}
},
{
"path": "/_inference/{task_type}/{inference_id}",
"methods": ["DELETE"],
"parts": {
"task_type": {
"type": "string",
"description": "The task type"
},
"inference_id": {
"type": "string",
"description": "The inference Id"
}
}
}
]
},
"params": {
"dry_run": {
"type": "boolean",
"description": "If true the endpoint will not be deleted and a list of ingest processors which reference this endpoint will be returned.",
"required": false
},
"force": {
"type": "boolean",
"description": "If true the endpoint will be forcefully stopped (regardless of whether or not it is referenced by any ingest processors or semantic text fields).",
"required": false
}
}
}
}