Parameters
The ID of the node to delete
Response
Returns a confirmation message with the deleted node’s ID.Examples
Delete a single element
Delete after checking node type
Conditionally delete nodes
Notes
- Deletion is permanent and cannot be undone via the API
- Deleting a parent node will delete all its children
- For deleting multiple nodes, use
delete_multiple_nodesfor better performance - Cannot delete the root document node or locked nodes
See Also
delete_multiple_nodes- Delete multiple nodes in a single operation