# Update an application in Kibana

**URL:** https://discuss.elastic.co/t/update-an-application-in-kibana/167101
**Category:** Kibana
**Created:** [February 5, 2019, 10:59am UTC](https://discuss.elastic.co/t/update-an-application-in-kibana/167101 "2019-02-05T10:59:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mohit\_Agrawal](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@Mohit\_Agrawal](https://discuss.elastic.co/u/Mohit_Agrawal)
#### Post date: [February 5, 2019, 10:59am UTC](https://discuss.elastic.co/t/update-an-application-in-kibana/167101/1 "2019-02-05T10:59:05Z")

</div>

Hii,  
I pushing several visualizations, dashboards, savedsearches and scripted fields using a python script. They altogether fulfill one big functionality, thus I refer them as an application.  
Now what I want is to update the whole application.  
For this, I have written another python script which deletes each and every object previously created and put the newer ones. This script takes a lot of time as there are several delete rest calls. Also if it fails before complete execution, there are tracing back and rolling back issues.  
Thus is there a way in which I can delete these visualizations, dashboards, savedsearches and scripted at once(in other words, upgrade the application in a single go!).

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [February 5, 2019, 8:14pm UTC](https://discuss.elastic.co/t/update-an-application-in-kibana/167101/2 "2019-02-05T20:14:37Z")

</div>

What API are you using to delete and add saved objects?

The [saved object API](https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html) does not provide a way to delete and add saved objects in a single call.

You can create an enhancement request here [https://github.com/elastic/kibana/issues/new?template=Feature\_request.md](https://github.com/elastic/kibana/issues/new?template=Feature_request.md)

---

<div class="post-metadata">

### Author: ![Mohit\_Agrawal](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@Mohit\_Agrawal](https://discuss.elastic.co/u/Mohit_Agrawal)
#### Post date: [February 6, 2019, 5:55am UTC](https://discuss.elastic.co/t/update-an-application-in-kibana/167101/3 "2019-02-06T05:55:17Z")

</div>

I am using kibana's [Delete Object](https://www.elastic.co/guide/en/kibana/current/saved-objects-api-delete.html) API for deleting the objects and [Create Object](https://www.elastic.co/guide/en/kibana/master/saved-objects-api-create.html#saved-objects-api-create) API for saving the object.

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: [March 6, 2019, 5:55am UTC](https://discuss.elastic.co/t/update-an-application-in-kibana/167101/4 "2019-03-06T05:55:21Z")

</div>

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