# FORBIDDEN/12/index read-only / allow delete (api)\]

**URL:** <https://discuss.elastic.co/t/forbidden-12-index-read-only-allow-delete-api/110282>\
**Category:** Elasticsearch\
**Created:** [December 5, 2017, 8:27am UTC](https://discuss.elastic.co/t/forbidden-12-index-read-only-allow-delete-api/110282 "2017-12-05T08:27:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![keremcan](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@keremcan](https://discuss.elastic.co/u/keremcan)\
**Post date:** [December 10, 2017, 8:42am UTC](https://discuss.elastic.co/t/forbidden-12-index-read-only-allow-delete-api/110282/5 "2017-12-10T08:42:42Z")

</div>

try these, maybe these solve your issue.

```
  PUT _settings
    {
    "index": {
    "blocks": {
    "read_only_allow_delete": "false"
    }
    }
    }

```

* * *

```
    PUT your_index_name/_settings
    {
    "index": {
    "blocks": {
    "read_only_allow_delete": "false"
    }
    }
    }
```

---

_[View the full topic](https://discuss.elastic.co/t/forbidden-12-index-read-only-allow-delete-api/110282)._
