delete_threat_model
Permanently delete a threat model and all its versions, controls, and associated data. This irreversible action also invalidates reliance from other models, so confirm intent before use.
Instructions
Delete a threat model and all associated data. Destructive and permanent — cannot be undone.
Mutating: removes the model along with every version, its controls, assertions, findings, attestations, and tag/reliance memberships. Reliance edges from other models that pointed at this one are invalidated, which can move those consumers' posture.
Confirm intent before calling. To keep a copy first, use export_threat_model_archive (a self-contained, re-importable JSON archive). Returns {deleted: True, model_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model to delete. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||