# metalcloud-cli account update Update an existing account configuration ## Synopsis Update an existing account in the MetalCloud platform with new configuration. This command updates an existing account using configuration data provided through a JSON file or standard input. Only the properties specified in the configuration will be updated; other properties remain unchanged. The account is identified by its unique account ID. Required Permissions: - users:write Arguments: account_id The unique identifier of the account to update Required Flags: --config-source Source of the account update configuration Flag Details: --config-source string Source of the account update configuration. Can be 'pipe' to read from stdin or path to a JSON file. The JSON should contain the account properties to update. Examples: ## Update account from JSON file metalcloud-cli account update 1234 --config-source /path/to/updates.json ## Update account from stdin echo '{"description":"Updated description"}' | metalcloud-cli account update 1234 --config-source pipe ## Using alias metalcloud-cli account edit 1234 --config-source account-updates.json ``` metalcloud-cli account update account_id [flags] ``` ### Options ``` --config-source string Source of the account 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 account](/content/configuration/cli/metalcloud-cli_account.md) - Manage user accounts and account-related operations #### Auto generated by spf13/cobra on 11-Aug-2025