Subcommands
- list — List groups
- get — Get group details
- create — Create a new group
- update — Update an existing group
- delete — Delete a group
list
List groups in an organization.Flags
| Flag | Description |
|---|---|
--org string | Organization ID |
--json | Output in JSON format |
get
Get details for a specific group in JSON format.Flags
| Flag | Description |
|---|---|
--id string | Group ID |
--org string | Organization ID |
create
Create a new group in the specified organization. Supports interactive mode or JSON input.Flags
| Flag | Description |
|---|---|
--org string | Organization ID |
-f, --file string | Path to a JSON file |
--stdin | Read JSON from standard input |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm creation |
Examples
update
Update an existing group.Flags
| Flag | Description |
|---|---|
--id string | Group ID |
--org string | Organization ID |
-f, --file string | Path to a JSON file |
--stdin | Read JSON from standard input |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm update |
Examples
delete
Delete an existing group.Flags
| Flag | Description |
|---|---|
--id string | Group ID |
--org string | Organization ID |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm deletion |