prb consent-record command reference
Reference for 3 commands under prb consent-record, including usage, flag types and defaults, required flags, source examples, and implementation links
Manage cookie consent records. This page documents 3 commands under prb consent-record.
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 consent-record | Manage cookie consent records. | prb consent-record <command> | View implementation |
prb consent-record list | List cookie consent records for a banner. | prb consent-record list | View implementation |
prb consent-record view | View a consent record. | prb consent-record view <id> | View implementation |
prb consent-record
Section titled “prb consent-record”Manage cookie consent records.
prb consent-record <command>prb consent-record list
Section titled “prb consent-record list”List cookie consent records for a banner.
prb consent-record listAccepts no positional arguments.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--action | string | "" | — | Filter by action |
--after | string | "" | — | Cursor from the previous page (the Next cursor line) |
--banner-id | string | "" | Required | Cookie banner ID (required) |
--json | boolean | false | — | Output JSON (same as —output json) |
--limit, -L | integer | 30 | — | Maximum number of items |
--output, -o | string | "" | — | Output format: json, table (default) |
--version | integer | 0 | — | Filter by version |
--visitor-id | string | "" | — | Filter by visitor ID |
prb consent-record view
Section titled “prb consent-record view”View a consent record.
prb consent-record 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) |