deleteFieldByPath
The deleteFieldByPath method removes all document fields with the specified path.
Syntax
deleteFieldByPath( path )
Arguments
| Argument | Description | 
|---|---|
| path | (string) The path of the field(s) to delete. | 
Example
document:deleteFieldByPath("my/metadata/subfield")