|
1 | 1 | [role="xpack"] |
2 | 2 | [testenv="platinum"] |
3 | 3 | [[delete-trained-models-aliases]] |
4 | | -= Delete Trained Model Aliases API |
| 4 | += Delete trained model aliases API |
5 | 5 | [subs="attributes"] |
6 | 6 | ++++ |
7 | | -<titleabbrev>Delete Trained Model Aliases</titleabbrev> |
| 7 | +<titleabbrev>Delete trained model aliases</titleabbrev> |
8 | 8 | ++++ |
9 | 9 |
|
10 | 10 | Deletes a trained model alias. |
@@ -33,27 +33,25 @@ For more information, see <<built-in-roles>>, <<security-privileges>>, and |
33 | 33 |
|
34 | 34 | This API deletes an existing model alias that refers to a trained model. |
35 | 35 |
|
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. |
38 | 38 |
|
39 | 39 | [[ml-delete-trained-models-aliases-path-params]] |
40 | 40 | == {api-path-parms-title} |
41 | 41 |
|
42 | | -`model_id`:: |
43 | | -(Required, string) |
44 | | -The trained model ID to which the model alias refers. |
45 | | - |
46 | 42 | `model_alias`:: |
47 | 43 | (Required, string) |
48 | 44 | The model alias to delete. |
49 | 45 |
|
| 46 | +`model_id`:: |
| 47 | +(Required, string) |
| 48 | +The trained model ID to which the model alias refers. |
| 49 | + |
50 | 50 | [[ml-delete-trained-models-aliases-example]] |
51 | 51 | == {api-examples-title} |
52 | 52 |
|
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`): |
57 | 55 |
|
58 | 56 | [source,console] |
59 | 57 | -------------------------------------------------- |
|
0 commit comments