delete_control
Soft-delete a security control from a threat model, recording an optional justification. Blocks deletion if the control uniquely covers a control objective, preserving coverage.
Instructions
Soft-delete a security control, optionally with a justification. Destructive (mutating): the control is retired, not permanently erased.
Blocks with HTTP 409 when the control is the ONLY control covering any control objective — removing it would leave that CO uncovered. Add a replacement control (or refine the threat model) before deleting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional justification recorded in the audit trail (recommended). | |
| model_id | Yes | ID of the threat model. | |
| control_id | Yes | ID of the control to delete. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||