delete_element
Delete an ArchiMate element and automatically remove all dependent relationships and visual connections from the model.
Instructions
Delete an ArchiMate element from the active model.
pyArchimate also removes dependent concepts such as relationships
and visual nodes/connections referencing the deleted element.
Args:
element_id: ID of the element to delete.
Returns:
Success envelope with `data.deleted=true`.
Errors:
`ElementNotFoundError` when `element_id` is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||