[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:
Tal Levy 2018-12-03 10:55:31 -08:00 committed by GitHub
parent 19b936dcce
commit fdec331b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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",