delete_range
Permanently remove a cyber range environment and all associated virtual machines, snapshots, and data for security testing and research cleanup.
Instructions
Delete the entire range.
Permanently removes the range and all associated VMs, snapshots, and data.
Important: If a deployment is in progress, abort it first with abort_range_deployment().
Args: confirm: Confirmation flag (must be True to proceed) user_id: Optional user ID (admin only)
Returns: Range deletion result
Example: # Delete current user's range (after aborting if needed) result = await delete_range(confirm=True)
Workflow: 1. If deployment is active: abort_range_deployment() 2. Then delete: delete_range(confirm=True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| user_id | No |