curl --location --request POST 'http://127.0.0.1/deployments//elasticsearch//_enable-ilm' \
--header 'Authorization: ApiKey {{EC_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"index_patterns": [
{
"index_pattern": "string",
"node_attributes": {
"property1": "string",
"property2": "string"
},
"policy_name": "string"
}
]
}'
{
"warnings": [
{
"message": "string",
"code": "string"
}
]
}