Skip to main content

delete_element

Function delete_element 

Source
pub fn delete_element(config_json: &str, felem_code: &str) -> Result<String>
Expand description

Delete an element (CFG_FELEM record)

§Arguments

  • config_json - JSON configuration string
  • felem_code - Element code

§Returns

Modified configuration JSON string

§Errors

  • NotFound if element doesn’t exist
  • InvalidInput if element is linked to features (Python parity: linkage check)