# License Expired

**URL:** https://discuss.elastic.co/t/license-expired/141872
**Category:** Elasticsearch
**Created:** [July 27, 2018, 5:28am UTC](https://discuss.elastic.co/t/license-expired/141872 "2018-07-27T05:28:02Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [July 27, 2018, 7:39am UTC](https://discuss.elastic.co/t/license-expired/141872/12 "2018-07-27T07:39:05Z")

</div>

> [@Sulaiman](#):
>
> I may be removed using curl -X DELETE

Don't do that.

If you don't need the data on this cluster any more, then you can just delete everything (the `data/` directory) start over, and it will regenerate the license.

Otherwise you need to explicitly start a new basic license with:

```auto
curl -uelastic -XPOST 'http://localhost:9200/_xpack/license/start_basic'

```

---

_[View the full topic](https://discuss.elastic.co/t/license-expired/141872)._
