metalcloud-cli user archive¶
Archive a user account to mark it as inactive
Synopsis¶
Archive a user account to mark it as inactive and prevent future logins.
Archiving a user preserves their data but prevents them from logging in or accessing the system. This is a reversible action - archived users can be unarchived later.
Arguments: user_id The numeric ID of the user to archive
Examples: metalcloud-cli user archive 12345 metalcloud-cli user remove 12345
metalcloud-cli user archive user_id [flags]
Options¶
-h, --help help for archive
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 - Manage user accounts and their properties