# X-pack license issue

**URL:** <https://discuss.elastic.co/t/x-pack-license-issue/108230>\
**Category:** Elasticsearch\
**Created:** [November 18, 2017, 8:10am UTC](https://discuss.elastic.co/t/x-pack-license-issue/108230 "2017-11-18T08:10:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jagan/32/42200_2.png) [@jagan](https://discuss.elastic.co/u/jagan)\
**Post date:** [November 18, 2017, 8:10am UTC](https://discuss.elastic.co/t/x-pack-license-issue/108230/1 "2017-11-18T08:10:33Z")

</div>

Hi team,  
I am not able to update my 1 year free license though i already have registered for kibana to run but it shows 'Login is disable your license had expired'. I tried it with my already downloaded license file(.json).But unable to update still getting same message .

the command i used is curl -XGET -u elastic:changeme '[http://localhost:9200/\_xpack/license](http://localhost:9200/_xpack/license)' -d'  
{  
...............  
..............  
...............  
}'

![image](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6f1cc852e55b2f136a27f758ea2894e89f33a363.png)

Thanks,  
jagan

---

<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:** [November 18, 2017, 8:56am UTC](https://discuss.elastic.co/t/x-pack-license-issue/108230/2 "2017-11-18T08:56:11Z")

</div>

The API to update the license needs to be a `PUT`, not a `GET`.

[https://www.elastic.co/guide/en/x-pack/current/installing-license.html](https://www.elastic.co/guide/en/x-pack/current/installing-license.html)

---

<div class="post-metadata">

**Author:** ![jagan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jagan/32/42200_2.png) [@jagan](https://discuss.elastic.co/u/jagan)\
**Post date:** [November 18, 2017, 10:17am UTC](https://discuss.elastic.co/t/x-pack-license-issue/108230/3 "2017-11-18T10:17:28Z")

</div>

Thanks for the Reply Tim It worked for me.  
😃

Regards,  
Jagan

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 16, 2017, 10:17am UTC](https://discuss.elastic.co/t/x-pack-license-issue/108230/4 "2017-12-16T10:17:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
