Lightbits Command Line Interface
Page
Code Steps
Category
Label
Link
Separator
Title
Message
Page icon
No icon. This page keeps the plain index row.
orSVG or PNG, square, at least 32×32.
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)
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Lists roles resources.
lbcli list roles
Lists roles resources.
lbcli list roles [flags]
Examples:
# 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. |
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