Skip to content

Commit

Permalink
[ILM] fix ilm.remove_policy rest-spec (#36165)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
talevy authored Dec 3, 2018
1 parent 19b936d commit fdec331
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fdec331

Please sign in to comment.