# How to delete a runtime field?

**URL:** <https://discuss.elastic.co/t/how-to-delete-a-runtime-field/330526>\
**Category:** Kibana\
**Created:** [April 21, 2023, 2:57pm UTC](https://discuss.elastic.co/t/how-to-delete-a-runtime-field/330526 "2023-04-21T14:57:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukesh\_pallapothu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mukesh_pallapothu/32/119930_2.png) [@mukesh\_pallapothu](https://discuss.elastic.co/u/mukesh_pallapothu)\
**Post date:** [April 21, 2023, 2:57pm UTC](https://discuss.elastic.co/t/how-to-delete-a-runtime-field/330526/1 "2023-04-21T14:57:20Z")

</div>

I am trying to use runtime fields instead of scripted fields and have created one, which I no longer need.  
Is there any API or from GUI I can delete the runtime fields ?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [April 21, 2023, 4:47pm UTC](https://discuss.elastic.co/t/how-to-delete-a-runtime-field/330526/2 "2023-04-21T16:47:04Z")

</div>

Hi @mukesh_pallapothu

Check [this](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime-mapping-fields.html#runtime-updating-scripts) on how to delete a runtime field

---

<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:** [May 19, 2023, 4:47pm UTC](https://discuss.elastic.co/t/how-to-delete-a-runtime-field/330526/3 "2023-05-19T16:47:36Z")

</div>

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