Lightbits CLI Reference Guide
3.19.x
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)
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Lists roles resources.
Bash
xxxxxxxxxxlbcli list rolesLists roles resources.
Bash
xxxxxxxxxxlbcli list roles [flags]Examples:
Bash
xxxxxxxxxx# 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. |
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
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