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

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

Elasticsearch license API commands

## Commands

<page-card>
  Delete the license.
</page-card>

<page-card>
  Get license information.
</page-card>

<page-card>
  Get the basic license status.
</page-card>

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

<page-card>
  Update the license.
</page-card>

<page-card>
  Start a basic license.
</page-card>

<page-card>
  Start a trial.
</page-card>