Delete a resource record
delete_resourceDelete a specific record by ID (or name for tags) with required confirmation, refusing removal when dependents exist or when it would remove the last admin/your own account.
Instructions
Delete a record by id (or name, for tags). Requires confirm:true. Same write gating as create_resource — the record's risk domain must be enabled. Refuses if other records depend on the target (pass force=true to override) and refuses to remove the last admin / your own account. Content records can be reverted with restore_resource when version control is on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record id to delete. | |
| force | No | Delete even if other records depend on it (leaves those references dangling). Default false. | |
| confirm | Yes | Must be true to actually delete — guards against accidental loss. | |
| dry_run | No | Report the delete's impact (dependents) without deleting. get_references gives the same view. | |
| resource | Yes | Resource type. Call describe_resource for fields and supported verbs. |