Logo
Elasticsearch API Documentation

Migrate Elasticsearch resource to use ILM

POST {{baseUrl}}/deployments/:deployment_id/elasticsearch/:ref_id/_enable-ilm?validate_only=false

Migrates the specified Elasticsearch resource to use ILM.

 

Body PARAM

Key Datatype Required Description 
validate_only
boolean When `true`, does not enable ILM but returns warnings if any applications may lose availability during ILM migration.



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK





Curl
curl -X POST 'https://api.elastic-cloud.com/api/v1//deployments/:deployment_id/elasticsearch/:ref_id/_enable-ilm?validate_only=false?validate_only=false' -H 'Content-Type: application/json' -d '{"index_patterns":[{"index_pattern":"deserunt dolore","policy_name":"culpa sed irure est"},{"index_pattern":"quis dolore ut aute","policy_name":"do cillum culpa velit ut"}]}'

ENDPOINTS