Before archiving an entity:
- Remove the entity from any FeatureGroups.
- Ensure no features are currently using this entity in the feature catalog.
Example Archive and delete an entity
fs.archive_entity("customer_id")
fs.delete_entity("customer_id")
Example using entity object
entity = Entity("customer_id", df.customer_id)
fs.archive_entity(entity)
fs.delete_entity(entity)