# Delete Elasticsearch repository in S3

**URL:** <https://discuss.elastic.co/t/delete-elasticsearch-repository-in-s3/147123>\
**Category:** Elasticsearch\
**Created:** [September 4, 2018, 12:30am UTC](https://discuss.elastic.co/t/delete-elasticsearch-repository-in-s3/147123 "2018-09-04T00:30:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ardel](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@ardel](https://discuss.elastic.co/u/ardel)\
**Post date:** [September 4, 2018, 12:30am UTC](https://discuss.elastic.co/t/delete-elasticsearch-repository-in-s3/147123/1 "2018-09-04T00:30:37Z")

</div>

Hello!

Is there anyone here who knows how to delete AWS managed elasticsearch repository in S3 using curator? Or any command?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 4, 2018, 1:01am UTC](https://discuss.elastic.co/t/delete-elasticsearch-repository-in-s3/147123/2 "2018-09-04T01:01:11Z")

</div>

Should be as simple as:

```auto
DELETE /_snapshot/REPOSITORY_NAME

```

This will remove the repository from Elasticsearch, but will not delete the S3 bucket.

---

<div class="post-metadata">

**Author:** ![ardel](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@ardel](https://discuss.elastic.co/u/ardel)\
**Post date:** [September 4, 2018, 1:13am UTC](https://discuss.elastic.co/t/delete-elasticsearch-repository-in-s3/147123/3 "2018-09-04T01:13:02Z")

</div>

> [@theuntergeek](#):
>
> his will remove the repository from Elasticsearch, but will not delete the S3 bucket.

Hello @theuntergeek

Thank you!

---

<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:** [October 2, 2018, 1:24am UTC](https://discuss.elastic.co/t/delete-elasticsearch-repository-in-s3/147123/4 "2018-10-02T01:24:52Z")

</div>

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