Delete Object
delete_objectPermanently delete one confirmed Gramps Web record; if other records link to it, deletion is blocked unless force=true is confirmed.
Instructions
Permanently delete one record; it cannot be undone through this server. Call it only after the user confirmed this exact record. If other records still point to it, nothing is deleted and the reply lists those backlinks by type; unlink them first with the owners' update tools, or pass force=true after a separate confirmation. On success returns the type, action: deleted and the handle; a missing record returns a not-found message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | true deletes even when other records still point to it, leaving those links dangling (default false). | |
| handle | Yes | The record to delete. Handle or Gramps ID (e.g. I0001), resolved automatically; find it with search or list_objects. | |
| objectType | Yes | Record type: person, family, event, place, source, citation, note, media, repository or tag. |