diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json index b49486a062036..c41d0e57262ac 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json @@ -6,7 +6,7 @@ "paths": [ { "path": "/_enrich/policy/{name}/_execute", - "methods": [ "PUT" ], + "methods": [ "PUT", "POST" ], "parts": { "name": { "type" : "string", 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 6353fac6391fa..a57a4513edfa9 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 @@ -9,7 +9,8 @@ { "path":"/_slm/policy/{policy_id}/_execute", "methods":[ - "PUT" + "PUT", + "POST" ], "parts":{ "policy_id":{