# NETCONF delete with XPATH usage

**URL:** <https://dmap-community.ductus.global/t/netconf-delete-with-xpath-usage/1978>\
**Category:** Other Northbound Interfaces\
**Created:** [July 4, 2018, 2:29pm UTC](https://dmap-community.ductus.global/t/netconf-delete-with-xpath-usage/1978 "2018-07-04T14:29:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![makisPapapa](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@makisPapapa](https://dmap-community.ductus.global/u/makisPapapa)\
**Post date:** [July 4, 2018, 2:29pm UTC](https://dmap-community.ductus.global/t/netconf-delete-with-xpath-usage/1978/1 "2018-07-04T14:29:00Z")

</div>

I am trying to create an edit-config with delete operation but using an xpath filter like the following

“filter type=”xpath” select=”/sdl/config/global-config/notifications/subscription-services/service[notification-type=‘RR’] "

But i cannot find a way to add it in an xml file and run it !

How do you issue such a command for DELETE ?

---

<div class="post-metadata">

**Author:** ![per](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@per](https://dmap-community.ductus.global/u/per)\
**Post date:** [July 12, 2018, 9:11pm UTC](https://dmap-community.ductus.global/t/netconf-delete-with-xpath-usage/1978/2 "2018-07-12T21:11:43Z")

</div>

Please refer to the NETCONF specifikation, i.e. [RFC 6241](https://tools.ietf.org/html/rfc6241). The `<filter>` element, whether with “subtree” or “xpath” as value for the ‘type’ attribute, is only available for `<get>` and `<get-config>`, not for `<edit-config>`.
