Skip to content

metalcloud-cli user unarchive

Unarchive a user account to restore access

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]
-h, --help help for unarchive
-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”