# metalcloud-cli user unarchive Unarchive a user account to restore access ## Synopsis Unarchive a previously archived user account to restore their access to the system. This command reverses the archive operation, allowing the user to log in and access the system again. All user data and settings are preserved during archive/unarchive. Arguments: user_id The numeric ID of the user to unarchive Examples: metalcloud-cli user unarchive 12345 metalcloud-cli user restore 12345 ``` metalcloud-cli user unarchive user_id [flags] ``` ### Options ``` -h, --help help for unarchive ``` ### 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 user](/content/configuration/cli/metalcloud-cli_user.md) - Manage user accounts and their properties #### Auto generated by spf13/cobra on 11-Aug-2025