# Opendistro-anomaly-results-history index permissions

**URL:** <https://forum.opensearch.org/t/opendistro-anomaly-results-history-index-permissions/20956>\
**Category:** OpenSearch\
**Tags:** anomaly-detection, index-management\
**Created:** [August 22, 2024, 6:32pm UTC](https://forum.opensearch.org/t/opendistro-anomaly-results-history-index-permissions/20956 "2024-08-22T18:32:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sree](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Sree](https://forum.opensearch.org/u/Sree)\
**Post date:** [August 22, 2024, 6:32pm UTC](https://forum.opensearch.org/t/opendistro-anomaly-results-history-index-permissions/20956/1 "2024-08-22T18:32:03Z")

</div>

Versions : v2.10.0

Describe the issue:

Getting “no permission” error when trying to delete or change number of replica’s settings in .opendistro-anomaly-results-history-2024.08.01-1 index.

Configuration:

I’m using the default admin user to modify/delete the index.

Relevant Logs or Screenshots:

[security\_exception] no permissions for and User [name=admin, backend\_roles=[admin], requestedTenant=]

---

<div class="post-metadata">

**Author:** ![Sree](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Sree](https://forum.opensearch.org/u/Sree)\
**Post date:** [August 22, 2024, 7:07pm UTC](https://forum.opensearch.org/t/opendistro-anomaly-results-history-index-permissions/20956/2 "2024-08-22T19:07:59Z")

</div>

Got it working using the following

curl -XPUT [https://127.0.0.1:9200/.opendistro-anomaly-results-history-2024.08.01-1/\_settings](https://127.0.0.1:9200/.opendistro-anomaly-results-history-2024.08.01-1/_settings)" -H ‘Content-Type: application/json’ -d’{ “index”: { “number\_of\_replicas”:0 }}’ -k --cert /usr/share/opensearch/config/esnode.pem --key /usr/share/opensearch/config/esnode-key.pem
