# Cannot Delete Space?

**URL:** <https://discuss.elastic.co/t/cannot-delete-space/157411>\
**Category:** Kibana\
**Created:** [November 19, 2018, 5:19pm UTC](https://discuss.elastic.co/t/cannot-delete-space/157411 "2018-11-19T17:19:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Vasquez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_vasquez/32/22088_2.png) [@Matt\_Vasquez](https://discuss.elastic.co/u/Matt_Vasquez)\
**Post date:** [November 19, 2018, 5:19pm UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/1 "2018-11-19T17:19:26Z")

</div>

I cannot delete any space. There are two notifications that pop up:

"Error Deleting Space:"

"Deleted "Name\_of\_Space" space."

Yet the space still remains.

I looked for the error in the kibana.log did not find anything.

---

<div class="post-metadata">

**Author:** ![Matt\_Vasquez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_vasquez/32/22088_2.png) [@Matt\_Vasquez](https://discuss.elastic.co/u/Matt_Vasquez)\
**Post date:** [November 19, 2018, 5:23pm UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/2 "2018-11-19T17:23:46Z")

</div>

So I am using a NGINX reverse proxy and this seems to be causing issues with the request to delete the space as it works normally when not going through the proxy...

I guess the spaces features has some issues with reverse proxies at this point maybe?

---

<div class="post-metadata">

**Author:** ![Matt\_Vasquez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_vasquez/32/22088_2.png) [@Matt\_Vasquez](https://discuss.elastic.co/u/Matt_Vasquez)\
**Post date:** [November 19, 2018, 5:40pm UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/3 "2018-11-19T17:40:30Z")

</div>

This is what I see in the console in the developer tools:

DELETE [https://localhost:8443/kibana/api/spaces/space/eace](https://localhost:8443/kibana/api/spaces/space/eace) 405 (Not Allowed)

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 20, 2018, 12:11am UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/4 "2018-11-20T00:11:12Z")

</div>

cc @Larry_Gregory can u plz take a look at this ?

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 20, 2018, 12:53am UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/5 "2018-11-20T00:53:13Z")

</div>

Hey @Matt_Vasquez, are you trying to delete the space using the "Dev Tools" application in Kibana? If so, Dev Tools is currently only for Elasticsearch APIs, so it won't work with Kibana APIs, and you'll want to use a client similar to CURL with the Kibana APIs.

---

<div class="post-metadata">

**Author:** ![Matt\_Vasquez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_vasquez/32/22088_2.png) [@Matt\_Vasquez](https://discuss.elastic.co/u/Matt_Vasquez)\
**Post date:** [November 20, 2018, 2:30am UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/6 "2018-11-20T02:30:01Z")

</div>

No I'm trying to delete from spaces page. When I said developer tools, I meant for Chrome.. Sorry for the confusion..

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 20, 2018, 3:27pm UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/7 "2018-11-20T15:27:54Z")

</div>

@Matt_Vasquez, would you mind setting the following in you kibana.yml `xpack.security.audit.enabled: true`, restarting Kibana, and then trying to delete the space again?

If you wouldn't mind attaching your Kibana logs from this time period, it should help us diagnose the issue that you're experiencing.

---

<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 24, 2018, 1:12am UTC](https://discuss.elastic.co/t/cannot-delete-space/157411/9 "2018-12-24T01:12:56Z")

</div>

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