The /destroy command permanently deletes a deployment, including the cloud server, SSH keys, and local configuration files. This action cannot be undone.
This is a destructive operation. All data on the server will be lost permanently. Make sure you have backups of any important data before destroying a deployment.
/destroy - Select a deployment to destroy┌═══════════════════════════════════════════════════┐║ WARNING: This action cannot be undone! ║├───────────────────────────────────────────────────┤│ > production-claude [deployed] ││ staging-test [deployed] ││ dev-instance [not_deployed] │└───────────────────────────────────────────────────┘Arrow keys to select | Enter to destroy | Esc to go back
For safety, you must type the exact deployment name:
Confirm Destruction┌═══════════════════════════════════════════════════┐║ You are about to destroy: ║║ ║║ Deployment: production-claude ║║ Server IP: 203.0.113.45 ║║ ║║ This will permanently delete: ║║ • The VPS server (if deployed) ║║ • All data on the server ║║ • Local configuration files ║║ • SSH keys ║└───────────────────────────────────────────────────┘Type the deployment name to confirm:Confirm: production-claudePress Esc to cancel
Destroying deployment...Deleting server and cleaning up resources...• Deleting VPS from Hetzner Cloud...• Deleting SSH key from cloud provider...• Removing local SSH key files...• Removing configuration files...• Cleaning up ~/.clawcontrol/deployments/production-claude/✓ Complete
┌───────────────────────────────────────────────────┐│ Deployment Destroyed ││ ││ The deployment "production-claude" has been ││ permanently deleted. │└───────────────────────────────────────────────────┘Press any key to return to home
> /destroy/destroy - Select a deployment to destroyWARNING: This action cannot be undone!┌────────────────────────────────────────────┐│ > old-test-server [deployed] ││ production-claude [deployed] │└────────────────────────────────────────────┘[Enter]Confirm DestructionYou are about to destroy:Deployment: old-test-serverServer IP: 198.51.100.50This will permanently delete:• The VPS server (if deployed)• All data on the server• Local configuration files• SSH keysType the deployment name to confirm:Confirm: old-test-server[Enter]Destroying deployment...Deleting server and cleaning up resources...✓ Deleted VPS from Hetzner Cloud✓ Deleted SSH key from cloud provider✓ Removed local configuration✓ Deployment DestroyedThe deployment "old-test-server" has been permanently deleted.[Press any key]> _
Press Esc at any point before final confirmation to cancel:
Confirm DestructionType the deployment name to confirm:Confirm: prod_[Press Esc]/destroy - Select a deployment to destroy# Cancelled, back to selection
Destroying deployment...⚠ Warning: Server not found in cloud provider (May have been manually deleted)✓ Cleaned up local configuration✓ Deployment Destroyed
Destruction FailedFailed to delete server: API authentication failedLocal configuration has been preserved.Check your API key and try again.Press any key to go back
Destroying deployment...✓ Deleted VPS from Hetzner Cloud✗ Failed to delete SSH key (key not found)✓ Removed local configuration✓ Deployment DestroyedNote: Some cloud resources may remain.Check your provider's console to verify cleanup.
/destroy - Destroy deployment┌────────────────────────────────────────────┐│ No deployments found! │└────────────────────────────────────────────┘Press any key to return to home
# Create new config with updated settings> /newName: production-claude-v2# Deploy new instance> /deploy# Verify new instance works> /status> /ssh# Destroy old instance> /destroy# Select: production-claude