Skip to content

Delete

proxmox delete --help

Input:

proxmox delete --help

Output:

 Usage: proxmox delete [OPTIONS] PATH                                           

 Delete resources from the Proxmox API.                                         

 Sends a DELETE request to remove a resource. By default, prompts for           
 confirmation unless --force is used.                                           

 Examples:                                                                      
     # Delete with confirmation prompt                                          
     proxmox delete /nodes/pve/qemu/100                                         

     # Delete without confirmation (useful in scripts/automation)               
     proxmox delete /nodes/pve/qemu/100 --force                                 

     # Delete with JSON output                                                  
     proxmox delete /nodes/pve/qemu/100 --force --json                          

     # Delete storage resource                                                  
     proxmox delete /storage/backup-nfs --force                                 

     # Silently delete in automation (exit code indicates success)              
     proxmox delete /nodes/pve/qemu/100 --force 2>/dev/null                     

╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ *    path      TEXT  API path to delete [required]                           │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --force     -f            Force deletion without confirmation                │
│ --output    -o      TEXT  Output format (human, json, yaml, markdown, table, │
│                           text, raw)                                         │
│ --json                    Shortcut for --output json                         │
│ --yaml                    Shortcut for --output yaml                         │
│ --markdown                Shortcut for --output markdown                     │
│ --help                    Show this message and exit.                        │
╰──────────────────────────────────────────────────────────────────────────────╯

Exit code: 0 · Wall time (s): 0.222