Delete instances
deleteRemove instances and their whole subtrees in a single undoable step. Reports descendant counts, refuses Services, and requires fresh paths from find or tree before each subsequent removal.
Instructions
Destroys instances and everything inside them, as one undoable step.
Deleting a container deletes its whole subtree, so the response reports how many descendants went with each one — check it before telling the user what happened.
Services cannot be deleted and are refused. Paths shift when same-named siblings are removed, so read fresh paths from find or tree before a second delete rather than reusing indexes from an earlier call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Instances to destroy, e.g. ["Workspace.OldModel"]. | |
| studioId | No | Target Studio; omit for the active one. |