Copy setup between profiles
nuvio_copy_setupCopy a profile setup to another profile, with optional cross-platform mapping. Merge or replace settings and provider credentials, with dry-run and automatic rollback on failure.
Instructions
Copy a profile setup to another profile, optionally across platforms (platforms: [{from,to}], defaults to identity per platform). Settings are deep-merged (settings_mode=merge) or replaced (replace); provider credentials can be left alone, merged, or replaced. Transactional: on failure it rolls back and reports whether the rollback completed. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Return the diff without writing anything (no snapshot, no audit entry). | |
| platforms | No | Platform mappings (e.g. tv -> mobile). Defaults to tv->tv, mobile->mobile, desktop->desktop. | |
| settings_mode | No | merge | |
| source_profile_id | Yes | ||
| target_profile_id | Yes | ||
| provider_credentials | No | none |