apply_script_change
Apply a RouterOS script change in Safe Mode, snapshotting config and auto-reverting on session loss or post-apply health check failure.
Instructions
Apply a change inside a RouterOS Safe Mode session: the config is snapshotted first, and the router itself reverts the change if the session drops or the post-apply health check fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| reason | Yes | ||
| script | Yes | ||
| approval_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |