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 list roles (2.1 and above)
Copy Markdown
Open in ChatGPT
Open in Claude
Lists roles resources.
Bash
lbcli list rolesLists roles resources.
Bash
lbcli list roles [flags]Examples:
Bash
x
# Briefly list project 'my-proj' roles:lbcli -J $JWT list roles --project-name=my-proj# List project 'proj-1' roles with a breakdown of their permissions, in JSON format:lbcli -J $JWT list roles --project-name=proj-1 --output-format=json| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for roles. | |
| --project name | string | Project name. |
This command returns the following fields for each role. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes additional fields.
| Field | Type | Description |
|---|---|---|
| Name | String | Role name. |
| Type | Enum | Either admin or viewer role. |
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 list projects (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