CLI REST-API

## commit-to

    commit-to [user@IP address|host|groupname|alias]
    The "commit-to" command pushes configuration changes to a remote system or a group of remote systems.
    See "add-group" and "add-group-member" and other commands in /configuration/cli/remote-cli for more
    information about how to create and manage groups of remote systems.

    RESTAPI: The data can be passed in the body like this:
    {
        "parameters": {
            "host": "root@192.168.0.1"
        }
    }

Name | Value | Description | Example
--- | --- | --- | ---
| user@IP address|host|groupname|alias |  |

See also:
changes: lists changed configuration parameters in different formats.
commit: applies all configuration changes.
diff: shows differences between the system- and the "startup"-configuration set.
rollback: discards all parameter changes made in this CLI session.
/configuration/cli/remote-cli: remote-cli

#### REST-API Support:

This command is supported by the REST API:
Method: PUT
URL: /api/commit-to
Body:

    {
        "parameters": {
            "host": [user@IP address|host|groupname|alias]
        }
    }

Example using curl:

    curl -X PUT /api/commit-to -d
    "{
        \"parameters\": {
            \"host\": \"root@192.168.0.1\"
        }
    }"