# Cannot delete watchers when using basic license

**URL:** https://discuss.elastic.co/t/cannot-delete-watchers-when-using-basic-license/110800
**Category:** Elasticsearch
**Created:** [December 8, 2017, 8:28am UTC](https://discuss.elastic.co/t/cannot-delete-watchers-when-using-basic-license/110800 "2017-12-08T08:28:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tjliu](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@tjliu](https://discuss.elastic.co/u/tjliu)
#### Post date: [December 8, 2017, 8:28am UTC](https://discuss.elastic.co/t/cannot-delete-watchers-when-using-basic-license/110800/1 "2017-12-08T08:28:57Z")

</div>

Hi,

I got same issue with this link which happened from trial license to basic license. [Cannot delete watchers when using basic license · Issue #23490 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/23490), but I can not find answer at here. So I ask again. Thanks.

> Blockquote  
> curl -XPOST '[http://xxx:9200/\_xpack/watcher/\_stop](http://xxx:9200/_xpack/watcher/_stop)'  
> {"error":{"root\_cause":[{"type":"security\_exception","reason":"current license is non-compliant for [watcher]","license.expired.feature":"watcher"}],"type":"security\_exception","reason":"current license is non-compliant for [watcher]","license.expired.feature":"watcher"},"status":403}%

> Blockquote  
> curl -XGET 'xxx:9200/\_cat/shards?h=index,shard,prirep,state,unassigned.reason' | grep UNASSIGNED  
> % Total % Received % Xferd Average Speed Time Time Time Current  
> Dload Upload Total Spent Left Speed  
> 100 7409 100 7409 0 0 7409 0 0:00:01 --:--:-- 0:00:01 22657  
> .watches 0 p UNASSIGNED CLUSTER\_RECOVERED

> Blockquote  
> curl -XDELETE '[http://xxx:9200/.watches/?pretty](http://xxx:9200/.watches/?pretty)'  
> {"error":"This endpoint is not supported for DELETE on .watches index.","status":400}%

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [December 8, 2017, 9:59am UTC](https://discuss.elastic.co/t/cannot-delete-watchers-when-using-basic-license/110800/2 "2017-12-08T09:59:53Z")

</div>

see [How to delete UNASSIGNED .watches?](https://discuss.elastic.co/t/how-to-delete-unassigned-watches/110091/8)

---

<div class="post-metadata">

### Author: ![tjliu](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@tjliu](https://discuss.elastic.co/u/tjliu)
#### Post date: [December 8, 2017, 10:56am UTC](https://discuss.elastic.co/t/cannot-delete-watchers-when-using-basic-license/110800/3 "2017-12-08T10:56:03Z")

</div>

hi @spinscale

Thanks a lot. It worked. The cluster is green now.

---

<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: [January 5, 2018, 10:56am UTC](https://discuss.elastic.co/t/cannot-delete-watchers-when-using-basic-license/110800/4 "2018-01-05T10:56:12Z")

</div>

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