diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json index f586351bbf5..2c9c1edcda6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json @@ -1,13 +1,13 @@ { "slm.delete_lifecycle": { - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete.html", "stability": "stable", "methods": [ "DELETE" ], "url": { "path": "/_slm/policy/{policy_id}", "paths": ["/_slm/policy/{policy_id}"], "parts": { - "policy": { + "policy_id": { "type" : "string", "description" : "The id of the snapshot lifecycle policy to remove" } diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json index 82b6d9b52d8..ecfecb7a073 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json @@ -1,6 +1,6 @@ { "slm.execute_lifecycle": { - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute.html", "stability": "stable", "methods": [ "PUT" ], "url": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json index 2f588aff235..e83759b19be 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json @@ -1,6 +1,6 @@ { "slm.get_lifecycle": { - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get.html", "stability": "stable", "methods": [ "GET" ], "url": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json index 3f88ae4a836..704b80da927 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json @@ -1,6 +1,6 @@ { "slm.put_lifecycle": { - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put.html", "stability": "stable", "methods": [ "PUT" ], "url": {