Delete instances
deleteRemove an instance and its full subtree in one undoable step. Services are refused, and the result reports how many descendants were removed. Refresh paths from find or tree before removing more.
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. |