[ILM] fix ilm.remove_policy rest-spec (#36165)
The rest interface for remove-policy-from-index API does not support `_ilm/remove`, it requires that an `{index}` pattern be defined in the URL path. This fixes the rest-api-spec to reflect the implementation
This commit is contained in:
parent
19b936dcce
commit
fdec331b13
|
@ -4,7 +4,7 @@
|
|||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/{index}/_ilm/remove",
|
||||
"paths": ["/{index}/_ilm/remove", "/_ilm/remove"],
|
||||
"paths": ["/{index}/_ilm/remove"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "string",
|
||||
|
|
Loading…
Reference in New Issue