CLI REST-API

commit

commit [option]
The "commit" command applies all configuration changes (see "changes" command). In order to
persistently store the changed configuration, please see the "write" and "diff" commands.
RESTAPI: The data can be passed in the body like this:
{
    "parameters": {
        "path": "/configuration"
    }
}
NameValueDescriptionExample
pendingonly apply the pending configuration changes
path/object/configuration
See also:
changes: lists changed configuration parameters in different formats.
commit-to: pushes configuration changes to a remote system or a group of remote systems.
rollback: discards all parameter changes made in this CLI session.

REST-API Support:


This command is supported by the REST API:

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

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