Discard Config
POST/vyos/config/discard
Discard all unsaved configuration changes for the active instance.
Computes the reverse of the current diff (delete added, restore removed, revert modified) and executes those operations directly — no config file path required. Works on any VyOS setup regardless of config file location.
Responses
- 200
Successful Response