remove_individual
Remove an individual from a GO-CAM model, automatically deleting all connected facts to maintain data integrity.
Instructions
Remove an individual from a GO-CAM model.
Note: This will also remove all facts (edges) connected to this individual.
Args: model_id: The GO-CAM model identifier individual_id: The individual to remove
Returns: Barista API response
Examples: # Remove using a variable reference (within same batch) remove_individual("gomodel:12345", "mf1")
# Remove using full individual ID
remove_individual("gomodel:12345", "gomodel:12345/5fce9b7300001215")
# Remove an evidence individual
remove_individual("gomodel:12345", "gomodel:12345/evidence_123")
# Clean up after testing
for ind_id in ["test1", "test2", "test3"]:
remove_individual("gomodel:12345", ind_id)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| individual_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||