Skip to content

metalcloud-cli account update

Update an existing account configuration

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:

metalcloud-cli account update 1234 —config-source /path/to/updates.json

echo ’{“description”:“Updated description”}’ | metalcloud-cli account update 1234 —config-source pipe

metalcloud-cli account edit 1234 —config-source account-updates.json

metalcloud-cli account update account_id [flags]
--config-source string Source of the account updates. Can be 'pipe' or path to a JSON file.
-h, --help help for update
-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")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”