Removing a related selection attribute

i created a selection attribute in a dataclass. i did not define a path.
i cannot remove the attribute without first defining a path.