# metalcloud-cli logical-network-profile update Update an existing logical network profile ## Synopsis Update an existing logical network profile with new configuration. This command modifies an existing logical network profile by applying the provided configuration changes. The profile ID must be valid and the configuration must match the schema for the profile's kind. Required Arguments: logical_network_profile_id The unique identifier of the profile to update Required Flags: --config-source Source of configuration data (required) - 'pipe' to read from stdin - path to JSON file containing updated profile configuration Examples: ## Update profile from JSON file metalcloud-cli logical-network-profile update 12345 --config-source updated-profile.json ## Update profile from stdin cat updated-config.json | metalcloud-cli lnp update 12345 --config-source pipe ## Update profile using alias metalcloud-cli network-profile edit 12345 --config-source ./configs/new-settings.json ## Get current profile, modify, then update metalcloud-cli lnp get 12345 --output json > current-profile.json ## Edit current-profile.json with your changes metalcloud-cli lnp update 12345 --config-source current-profile.json ``` metalcloud-cli logical-network-profile update logical_network_profile_id [flags] ``` ### Options ``` --config-source string Source of the logical network profile updates. Can be 'pipe' or path to a JSON file. -h, --help help for update ``` ### Options inherited from parent commands ``` -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO") ``` ### SEE ALSO * [metalcloud-cli logical-network-profile](/content/configuration/cli/metalcloud-cli_logical-network-profile.md) - Manage logical network profiles for network configuration templates #### Auto generated by spf13/cobra on 11-Aug-2025