Skip to content

metalcloud-cli resource-pool remove-user

Revoke user access from a resource pool

Revoke a user’s access from a resource pool by specifying the resource pool ID and user ID.

This command removes a user from a resource pool, revoking their access to the resources within that pool. The user will no longer be able to interact with resources in this pool.

Arguments: pool_id The numeric ID of the resource pool user_id The numeric ID of the user to remove

Examples:

Remove user with ID 789 from resource pool with ID 123

Section titled “Remove user with ID 789 from resource pool with ID 123”

metalcloud-cli resource-pool remove-user 123 789

metalcloud-cli rp rm-user 456 789

metalcloud-cli resource-pool remove-user <pool_id> <user_id> [flags]
-h, --help help for remove-user
-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”