From e52bed2445abbff3a4c725ff6957e94e4722addd Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Tue, 30 Jan 2024 07:11:26 +0100 Subject: [PATCH] [ILM] Add missing deprecated param to API schema (#175440) --- .../server/routes/api/policies/register_create_route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts b/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts index 65c37120e552f..302b92a98407e 100644 --- a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts +++ b/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts @@ -33,6 +33,7 @@ async function createPolicy( */ const bodySchema = schema.object({ name: schema.string(), + deprecated: schema.maybe(schema.boolean()), phases: schema.object({ hot: schema.any(), warm: schema.maybe(schema.any()),