CLI REST-API

rollback

rollback [option] [path/object]
The "rollback" command discards all parameter changes made in this CLI session.
Please see the "changes" command in order to show all pending changes. If you
want to apply the changes, you have to use the "commit" command instead.

RESTAPI: The data can be passed in the body like this:
{
    "parameters": {
        "path": "/configuration"
    }
}
NameValueDescriptionExample
pendingonly discard the pending configuration changes
path/object/configuration/network
See also:
changes: lists changed configuration parameters in different formats.
commit: applies all configuration changes.
commit-to: pushes configuration changes to a remote system or a group of remote systems.

REST-API Support:


This command is supported by the REST API:

Method: PUT
URL: /api/rollback
Body:
{
    "parameters": {
        "path": [path/object]
    }
}

Example using curl:
curl -X PUT /api/rollback -d 
"{
    \"parameters\": {
        \"path\": \"/configuration\"
    }
}"