# How to delete kibana dashboard via API in ELK 8.11.3?

**URL:** <https://discuss.elastic.co/t/how-to-delete-kibana-dashboard-via-api-in-elk-8-11-3/350520>\
**Category:** Kibana\
**Tags:** dashboard\
**Created:** [January 7, 2024, 5:31am UTC](https://discuss.elastic.co/t/how-to-delete-kibana-dashboard-via-api-in-elk-8-11-3/350520 "2024-01-07T05:31:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![learningelastic](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Post date:** [January 7, 2024, 5:31am UTC](https://discuss.elastic.co/t/how-to-delete-kibana-dashboard-via-api-in-elk-8-11-3/350520/1 "2024-01-07T05:31:49Z")

</div>

Right now I'm using ELK 8.11.3

I made a Kibana Dashboard with the id `7eb136ba-4ef4-4f99-8ec3-b58673a748ec`. Then I ran this curl statement to delete the dashboard:

```auto
curl -k -X DELETE -u elastic:changeme "https://kibana:5601/api/saved_objects/dashboard/7eb136ba-4ef4-4f99-8ec3-b58673a748ec" -H "kbn-xsrf: reporting"

```

The delete was successful.

I found this command from here:

> **[Delete object API | Kibana Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/kibana/current/saved-objects-api-delete.html)**

But that page says the command will soon be deprecated.

I can't seem to find the proper API end point to delete a Kibana dashboard for ELK 8.11.3

Can someone tell me what is the proper way to delete Kibana dashboard via REST API?

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [January 19, 2024, 8:29pm UTC](https://discuss.elastic.co/t/how-to-delete-kibana-dashboard-via-api-in-elk-8-11-3/350520/2 "2024-01-19T20:29:55Z")

</div>

Hi, this question has come up before: [REST api: delete dashboard](https://discuss.elastic.co/t/rest-api-delete-dashboard/343471)

The statement that the API is deprecated is confusing, because as of today there isn't a planned replacement for it. The existing API will not be removed until well after a replacement API has been delivered.

---

<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:** [February 16, 2024, 8:30pm UTC](https://discuss.elastic.co/t/how-to-delete-kibana-dashboard-via-api-in-elk-8-11-3/350520/3 "2024-02-16T20:30:16Z")

</div>

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