Remove Behavioural Element
remove_behavioural_elementRemove a behavioural model element the system does not actually contain, such as an erroneous extraction. Refuses elements still referenced and records the removal in a new model version.
Instructions
Remove an element of a model's behavioural model that the system does not have (an extraction read something the system does not hold, or put it where it is not). Mutating; creates a model version.
The removal is recorded beside the model, and every later extraction
withholds what it reads back of the element, under its id or another.
Only an element nothing else names can be removed: one an action, a
channel, a copy, a claim or a zone placement still names is refused 409
referenced, naming them; edit or remove those first. An element the
model lacks is 404 unknown_element. The removal changes the model's
ir_hash, which voids a confirmation. Writing an element under a
removed id with edit_behavioural_element withdraws the removal.
A removal narrows what the analysis reads, so it is a judgment: a
program's is refused with 403 and an escalation_id and parked for a
person unless the workspace's delegation policy admits it. Do not retry:
report the escalation_id and poll list_proposals. Remove only what
the documentation or the code shows the system does not have; never to
clear a question.
Returns the behavioural model as it now stands; removed lists every
standing removal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| collection | Yes | The collection of ``get_behavioural_model``'s ``ir`` the element belongs to. | |
| element_id | Yes | The element's ``id``. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||