Function delete_feature
Source pub fn delete_feature(
config_json: &str,
feature_code_or_id: &str,
) -> Result<String>
Expand description
Delete a feature from the configuration
§Arguments
config_json - JSON configuration string
feature_code_or_id - Feature code or numeric ID
§Returns
Modified configuration JSON string
§Errors
NotFound if feature doesn’t exist
InvalidInput if trying to delete a protected feature