tree data NEW lyd_unlink_meta_single()
diff --git a/src/tree_data_internal.h b/src/tree_data_internal.h
index 72536bc..5168101 100644
--- a/src/tree_data_internal.h
+++ b/src/tree_data_internal.h
@@ -414,6 +414,13 @@
 void lyd_insert_meta(struct lyd_node *parent, struct lyd_meta *meta, ly_bool clear_dflt);
 
 /**
+ * @brief Unlink a single metadata instance.
+ *
+ * @param[in] meta Metadata to unlink.
+ */
+void lyd_unlink_meta_single(struct lyd_meta *meta);
+
+/**
  * @brief Create and insert a metadata (last) into a parent.
  *
  * @param[in] parent Parent of the metadata, can be NULL.