﻿---
title: stack es ilm cli namespace
description: Elasticsearch ilm API commands 
url: https://www.elastic.co/elastic/docs-builder/docs/4075/reference/elastic-cli/cli/stack/es/ilm
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack es ilm cli namespace
```bash
elastic stack es ilm --help
```

Elasticsearch ilm API commands

## Commands

<page-card>
  Delete a lifecycle policy.
</page-card>

<page-card>
  Explain the lifecycle state.
</page-card>

<page-card>
  Get lifecycle policies.
</page-card>

<page-card>
  Get the ILM status.
</page-card>

<page-card>
  Migrate to data tiers routing.
</page-card>

<page-card>
  Move to a lifecycle step.
</page-card>

<page-card>
  Create or update a lifecycle policy.
</page-card>

<page-card>
  Remove policies from an index.
</page-card>

<page-card>
  Retry a policy.
</page-card>

<page-card>
  Start the ILM plugin.
</page-card>

<page-card>
  Stop the ILM plugin.
</page-card>