Skip to content

Commit c537e5f

Browse files
authored
[DOCS] Edits delete trained model alias API (elastic#70119)
1 parent 796284a commit c537e5f

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

docs/reference/ml/df-analytics/apis/delete-trained-models-aliases.asciidoc

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[role="xpack"]
22
[testenv="platinum"]
33
[[delete-trained-models-aliases]]
4-
= Delete Trained Model Aliases API
4+
= Delete trained model aliases API
55
[subs="attributes"]
66
++++
7-
<titleabbrev>Delete Trained Model Aliases</titleabbrev>
7+
<titleabbrev>Delete trained model aliases</titleabbrev>
88
++++
99

1010
Deletes a trained model alias.
@@ -33,27 +33,25 @@ For more information, see <<built-in-roles>>, <<security-privileges>>, and
3333

3434
This API deletes an existing model alias that refers to a trained model.
3535

36-
If the model alias is missing or refers to a model other than the one identified by
37-
the `model_id`, this API will return an error.
36+
If the model alias is missing or refers to a model other than the one identified
37+
by the `model_id`, this API returns an error.
3838

3939
[[ml-delete-trained-models-aliases-path-params]]
4040
== {api-path-parms-title}
4141

42-
`model_id`::
43-
(Required, string)
44-
The trained model ID to which the model alias refers.
45-
4642
`model_alias`::
4743
(Required, string)
4844
The model alias to delete.
4945

46+
`model_id`::
47+
(Required, string)
48+
The trained model ID to which the model alias refers.
49+
5050
[[ml-delete-trained-models-aliases-example]]
5151
== {api-examples-title}
5252

53-
[[ml-delete-trained-models-aliases-example-delete]]
54-
=== Deleting a model alias
55-
56-
The following example shows how to delete a model alias for a trained model ID.
53+
The following example shows how to delete a model alias (`flight_delay_model`)
54+
for a trained model ID (`flight-delay-prediction-1574775339910`):
5755

5856
[source,console]
5957
--------------------------------------------------

0 commit comments

Comments
 (0)