Lightbits Command Line Interface
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
lbcli get role (2.1 and above)
Copy Markdown
Open in ChatGPT
Open in Claude
Gets role information.
Bash
lbcli get roleGets role information.
Bash
lbcli get role [flags]Examples:
Bash
# Get brief info on 'my-proj:viewer' role:lbcli -J $JWT get role --project-name=my-proj --name=viewer# Get detailed info on 'proj-1:admin' role, with a list of permissions, in JSON format:lbcli get role --project-name=proj-1 --name=admin --output-format=json| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for role. | |
| --name | string | Role name. | ||
| --project name | string | Project name. |
This command returns the following fields for the role. The default output format is yaml. The JSON output format is also supported. The human-readable output only shows some of these fields.
| Field | Type | Description |
|---|---|---|
| Name | String | Role name. |
| Description | String | Role description. |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
lbcli get feature-flag (2.1 and above)© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message