gb username
Manage your username.
Synopsis
gb username [command]Description
Manage your Genbox username, which is used for genbox URL routing. Your username determines the URL structure for all your genboxes.
Subcommands
| Command | Description |
|---|---|
gb username | Show current username |
gb username set <name> | Set or change your username |
gb username check <name> | Check if a username is available |
Examples
Show Current Username
gb usernameUsername
Current: alice
Your genbox URLs: https://{genbox}.app.alice.genbox.devIf no username is set:
Username
No username set yet
Set your username with: gb username set <name>
Suggested: alice123Set Username
gb username set alice✓ Username set to 'alice'
Your genbox URLs: https://{genbox}.app.alice.genbox.devIf changing existing username:
gb username set newname? Change username from 'alice' to 'newname'? Yes
✓ Username set to 'newname'Check Availability
gb username check alice✓ Username 'alice' is availablegb username check admin✗ Username 'admin' is not available
Reason: reservedUsername Requirements
- Minimum 3 characters
- Lowercase letters and numbers only
- Hyphens allowed (but not at start/end)
- Must be unique across all users
Valid examples:
alicealice123my-teamdev-sandbox
Invalid examples:
al(too short)Alice(uppercase)-alice(starts with hyphen)alice-(ends with hyphen)
URL Structure
Your username determines your genbox URLs:
https://{genbox-name}.app.{username}.genbox.devExample with username alice and genbox my-app:
https://my-app.app.alice.genbox.devNotes
- Username is required before creating cloud genboxes
- Changing username updates URLs for all your genboxes
- Usernames cannot be the same as organization usernames
- Some usernames are reserved (admin, api, www, etc.)
See Also
Last updated on