prb datum command reference
Reference for 7 commands under prb datum, including usage, flag types and defaults, required flags, source examples, and implementation links
Manage data. This page documents 7 commands under prb datum.
Flags and examples below come from the command definitions. A Required flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.
Every command also inherits the global flags. Run prb <command> --help to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the complete CLI command reference to browse another command.
Commands
Section titled “Commands”| Command | Description | Usage | Source |
|---|---|---|---|
prb datum | Manage data. | prb datum <command> | View implementation |
prb datum create | Create a new datum. | prb datum create | View implementation |
prb datum delete | Delete a datum. | prb datum delete <id> | View implementation |
prb datum list | List data in an organization. | prb datum list | View implementation |
prb datum publish | Publish the data list as a document version. | prb datum publish | View implementation |
prb datum update | Update a datum. | prb datum update <id> | View implementation |
prb datum view | View a datum. | prb datum view <id> | View implementation |
prb datum
Section titled “prb datum”Manage data.
prb datum <command>prb datum create
Section titled “prb datum create”Create a new datum.
prb datum create| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--data-classification | string | "" | — | Data classification: PUBLIC, INTERNAL, CONFIDENTIAL, SECRET (required) |
--name | string | "" | — | Datum name (required) |
--org | string | "" | — | Organization ID |
--owner | string | "" | — | Owner profile ID (required) |
--third-party-ids | string list | [] | — | Third party IDs (comma-separated) |
Examples
Section titled “Examples”# Create a datum interactivelyprb datum create
# Create a datum non-interactivelyprb datum create --name "Customer PII" --data-classification CONFIDENTIAL --owner <profile-id>prb datum delete
Section titled “prb datum delete”Delete a datum.
prb datum delete <id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--yes, -y | boolean | false | — | Skip confirmation prompt |
prb datum list
Section titled “prb datum list”List data in an organization.
prb datum listAccepts no positional arguments.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--after | string | "" | — | Cursor from the previous page (the Next cursor line) |
--json | boolean | false | — | Output JSON (same as —output json) |
--limit, -L | integer | 30 | — | Maximum number of data to list |
--order-by | string | "" | — | Order by field (CREATED_AT, NAME, DATA_CLASSIFICATION) |
--order-direction | string | "DESC" | — | Sort direction (ASC, DESC) |
--org | string | "" | — | Organization ID |
--output, -o | string | "" | — | Output format: json, table (default) |
Examples
Section titled “Examples”# List data in the default organizationprb datum list
# List data sorted by nameprb datum ls --order-by NAME --output jsonprb datum publish
Section titled “prb datum publish”Publish the data list as a document version.
prb datum publish| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--approver | string array | [] | — | Approver profile ID (can be repeated; ignored with —minor) |
--minor | boolean | false | — | Publish as a minor version (no approval flow) |
--org | string | "" | — | Organization ID |
Examples
Section titled “Examples”# Publish the data listprb datum publish --org ORG_ID
# Publish with approversprb datum publish --org ORG_ID --approver PROFILE_ID1 --approver PROFILE_ID2prb datum update
Section titled “prb datum update”Update a datum.
prb datum update <id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--data-classification | string | "" | — | Data classification: PUBLIC, INTERNAL, CONFIDENTIAL, SECRET |
--name | string | "" | — | Datum name |
--owner | string | "" | — | Owner profile ID |
--third-party-ids | string list | [] | — | Third party IDs (comma-separated) |
prb datum view
Section titled “prb datum view”View a datum.
prb datum view <id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--json | boolean | false | — | Output JSON (same as —output json) |
--output, -o | string | "" | — | Output format: json, table (default) |