Skip to content

metalcloud-cli infrastructure users

List users with access to an infrastructure

Display all users who have access to a specific infrastructure, including their access levels and contact information.

This command shows the current user permissions for an infrastructure, which is useful for managing access control and understanding who can modify or view the infrastructure.

Arguments: infrastructure_id_or_label The ID (numeric) or label (string) of the infrastructure

Examples:

metalcloud-cli infrastructure users 123

metalcloud-cli infrastructure users “web-cluster”

metalcloud-cli infrastructure list-users production-env metalcloud-cli infrastructure get-users my-infrastructure

metalcloud-cli infrastructure users infrastructure_id_or_label [flags]
-h, --help help for users
-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”