# prb cookie-banner command reference

Manage cookie banners. This page documents **21 commands** under `prb cookie-banner`.

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](/docs/developers/cli/commands#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](/docs/developers/cli/commands) to browse another command.

## Commands

| Command                                                                       | Description                                                     | Usage                                                    | Source                                                                                                                              |
| ----------------------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [`prb cookie-banner`](#prb-cookie-banner)                                     | Manage cookie banners.                                          | `prb cookie-banner <command>`                            | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/cookie_banner.go#L49)                       |
| [`prb cookie-banner activate`](#prb-cookie-banner-activate)                   | Activate a cookie banner.                                       | `prb cookie-banner activate <id>`                        | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/activate/activate.go#L45)                   |
| [`prb cookie-banner add-gvl-vendor`](#prb-cookie-banner-add-gvl-vendor)       | Add an IAB GVL vendor to a cookie banner.                       | `prb cookie-banner add-gvl-vendor <cookie-banner-id>`    | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/add-gvl-vendor/add_gvl_vendor.go#L61)       |
| [`prb cookie-banner create`](#prb-cookie-banner-create)                       | Create a new cookie banner.                                     | `prb cookie-banner create`                               | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/create/create.go#L69)                       |
| [`prb cookie-banner deactivate`](#prb-cookie-banner-deactivate)               | Deactivate a cookie banner.                                     | `prb cookie-banner deactivate <id>`                      | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/deactivate/deactivate.go#L45)               |
| [`prb cookie-banner delete`](#prb-cookie-banner-delete)                       | Delete a cookie banner.                                         | `prb cookie-banner delete <id>`                          | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/delete/delete.go#L43)                       |
| [`prb cookie-banner get-gvl-catalog`](#prb-cookie-banner-get-gvl-catalog)     | Show the current IAB GVL catalog versions.                      | `prb cookie-banner get-gvl-catalog`                      | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/get-gvl-catalog/get_gvl_catalog.go#L50)     |
| [`prb cookie-banner latest-version`](#prb-cookie-banner-latest-version)       | Show the latest version of a cookie banner.                     | `prb cookie-banner latest-version <id>`                  | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/latestversion/latest_version.go#L62)        |
| [`prb cookie-banner list`](#prb-cookie-banner-list)                           | List cookie banners in an organization.                         | `prb cookie-banner list`                                 | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list/list.go#L71)                           |
| [`prb cookie-banner list-gvl-catalog`](#prb-cookie-banner-list-gvl-catalog)   | List IAB GVL vendors from the global catalog.                   | `prb cookie-banner list-gvl-catalog`                     | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list-gvl-catalog/list_gvl_catalog.go#L68)   |
| [`prb cookie-banner list-gvl-vendors`](#prb-cookie-banner-list-gvl-vendors)   | List IAB GVL vendors selected on a cookie banner.               | `prb cookie-banner list-gvl-vendors <cookie-banner-id>`  | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list-gvl-vendors/list_gvl_vendors.go#L70)   |
| [`prb cookie-banner list-samples`](#prb-cookie-banner-list-samples)           | List cookie banner samples.                                     | `prb cookie-banner list-samples <id>`                    | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list-samples/list_samples.go#L68)           |
| [`prb cookie-banner publish`](#prb-cookie-banner-publish)                     | Publish the current draft version.                              | `prb cookie-banner publish <id>`                         | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/publish/publish.go#L45)                     |
| [`prb cookie-banner published-version`](#prb-cookie-banner-published-version) | Show the latest published version of a cookie banner.           | `prb cookie-banner published-version <id>`               | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/published-version/published_version.go#L65) |
| [`prb cookie-banner regenerate-policy`](#prb-cookie-banner-regenerate-policy) | Re-arm tracker policy generation for a published cookie banner. | `prb cookie-banner regenerate-policy <id>`               | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/regenerate-policy/regenerate_policy.go#L44) |
| [`prb cookie-banner remove-gvl-vendor`](#prb-cookie-banner-remove-gvl-vendor) | Remove an IAB GVL vendor from a cookie banner.                  | `prb cookie-banner remove-gvl-vendor <cookie-banner-id>` | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/remove-gvl-vendor/remove_gvl_vendor.go#L44) |
| [`prb cookie-banner start-sample`](#prb-cookie-banner-start-sample)           | Start a cookie banner sample.                                   | `prb cookie-banner start-sample <id>`                    | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/start-sample/start_sample.go#L45)           |
| [`prb cookie-banner stop-sample`](#prb-cookie-banner-stop-sample)             | Stop a cookie banner sample.                                    | `prb cookie-banner stop-sample <id>`                     | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/stop-sample/stop_sample.go#L45)             |
| [`prb cookie-banner translate`](#prb-cookie-banner-translate)                 | Upsert a translation for a language.                            | `prb cookie-banner translate <id>`                       | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/translate/translate.go#L49)                 |
| [`prb cookie-banner update`](#prb-cookie-banner-update)                       | Update a cookie banner.                                         | `prb cookie-banner update <id>`                          | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/update/update.go#L64)                       |
| [`prb cookie-banner view`](#prb-cookie-banner-view)                           | View a cookie banner.                                           | `prb cookie-banner view <id>`                            | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/view/view.go#L108)                          |

## prb cookie-banner

Manage cookie banners.

### Usage

```text
prb cookie-banner <command>
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/cookie_banner.go#L49).

## prb cookie-banner activate

Activate a cookie banner.

### Usage

```text
prb cookie-banner activate <id>
```

Requires 1 positional argument.

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/activate/activate.go#L45).

## prb cookie-banner add-gvl-vendor

Add an IAB GVL vendor to a cookie banner.

### Usage

```text
prb cookie-banner add-gvl-vendor <cookie-banner-id>
```

Requires 1 positional argument.

### Flags

| Flag              | Type    | Default | Required | Description                  |
| ----------------- | ------- | ------- | -------- | ---------------------------- |
| `--iab-vendor-id` | integer | `0`     | —        | IAB GVL vendor ID (required) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/add-gvl-vendor/add_gvl_vendor.go#L61).

## prb cookie-banner create

Create a new cookie banner.

### Usage

```text
prb cookie-banner create
```

### Flags

| Flag                    | Type    | Default | Required | Description                  |
| ----------------------- | ------- | ------- | -------- | ---------------------------- |
| `--consent-expiry-days` | integer | `365`   | —        | Days until consent expires   |
| `--cookie-policy-url`   | string  | `""`    | —        | Cookie policy URL (required) |
| `--name`                | string  | `""`    | —        | Banner name (required)       |
| `--org`                 | string  | `""`    | —        | Organization ID              |
| `--origin`              | string  | `""`    | —        | Website origin (required)    |
| `--privacy-policy-url`  | string  | `""`    | —        | Privacy policy URL           |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/create/create.go#L69).

## prb cookie-banner deactivate

Deactivate a cookie banner.

### Usage

```text
prb cookie-banner deactivate <id>
```

Requires 1 positional argument.

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/deactivate/deactivate.go#L45).

## prb cookie-banner delete

Delete a cookie banner.

### Usage

```text
prb cookie-banner delete <id>
```

Requires 1 positional argument.

### Flags

| Flag          | Type    | Default | Required | Description              |
| ------------- | ------- | ------- | -------- | ------------------------ |
| `--yes`, `-y` | boolean | `false` | —        | Skip confirmation prompt |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/delete/delete.go#L43).

## prb cookie-banner get-gvl-catalog

Show the current IAB GVL catalog versions.

### Usage

```text
prb cookie-banner get-gvl-catalog
```

Accepts no positional arguments.

### Flags

| Flag             | Type    | Default | Required | Description                          |
| ---------------- | ------- | ------- | -------- | ------------------------------------ |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)  |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/get-gvl-catalog/get_gvl_catalog.go#L50).

## prb cookie-banner latest-version

Show the latest version of a cookie banner.

### Usage

```text
prb cookie-banner latest-version <id>
```

Requires 1 positional argument.

### Flags

| Flag             | Type    | Default | Required | Description                          |
| ---------------- | ------- | ------- | -------- | ------------------------------------ |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)  |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/latestversion/latest_version.go#L62).

## prb cookie-banner list

List cookie banners in an organization.

### Usage

```text
prb cookie-banner list
```

Accepts no positional arguments.

### Flags

| 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 items                              |
| `--org`          | string  | `""`    | —        | Organization ID                                      |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default)                 |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list/list.go#L71).

## prb cookie-banner list-gvl-catalog

List IAB GVL vendors from the global catalog.

### Usage

```text
prb cookie-banner list-gvl-catalog
```

Accepts no positional arguments.

### Flags

| Flag                 | Type    | Default | Required | Description                                             |
| -------------------- | ------- | ------- | -------- | ------------------------------------------------------- |
| `--after`            | string  | `""`    | —        | Cursor from the previous page (the Next cursor line)    |
| `--cookie-banner-id` | string  | `""`    | —        | Cookie banner ID (required with --membership)           |
| `--json`             | boolean | `false` | —        | Output JSON (same as --output json)                     |
| `--limit`            | integer | `50`    | —        | Maximum number of vendors to return                     |
| `--membership`       | string  | `""`    | —        | Filter by banner membership: ON_BANNER or NOT_ON_BANNER |
| `--output`, `-o`     | string  | `""`    | —        | Output format: json, table (default)                    |
| `--query`            | string  | `""`    | —        | Search by name or IAB vendor ID                         |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list-gvl-catalog/list_gvl_catalog.go#L68).

## prb cookie-banner list-gvl-vendors

List IAB GVL vendors selected on a cookie banner.

### Usage

```text
prb cookie-banner list-gvl-vendors <cookie-banner-id>
```

Requires 1 positional argument.

### Flags

| 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`        | integer | `50`    | —        | Maximum number of vendors to return                  |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default)                 |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list-gvl-vendors/list_gvl_vendors.go#L70).

## prb cookie-banner list-samples

List cookie banner samples.

### Usage

```text
prb cookie-banner list-samples <id>
```

Requires 1 positional argument.

### Flags

| 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 items                              |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default)                 |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/list-samples/list_samples.go#L68).

## prb cookie-banner publish

Publish the current draft version.

### Usage

```text
prb cookie-banner publish <id>
```

Requires 1 positional argument.

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/publish/publish.go#L45).

## prb cookie-banner published-version

Show the latest published version of a cookie banner.

### Usage

```text
prb cookie-banner published-version <id>
```

Requires 1 positional argument.

### Flags

| Flag             | Type    | Default | Required | Description                          |
| ---------------- | ------- | ------- | -------- | ------------------------------------ |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)  |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/published-version/published_version.go#L65).

## prb cookie-banner regenerate-policy

Re-arm tracker policy generation for a published cookie banner.

### Usage

```text
prb cookie-banner regenerate-policy <id>
```

Requires 1 positional argument.

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/regenerate-policy/regenerate_policy.go#L44).

## prb cookie-banner remove-gvl-vendor

Remove an IAB GVL vendor from a cookie banner.

### Usage

```text
prb cookie-banner remove-gvl-vendor <cookie-banner-id>
```

Requires 1 positional argument.

### Flags

| Flag              | Type    | Default | Required | Description                  |
| ----------------- | ------- | ------- | -------- | ---------------------------- |
| `--iab-vendor-id` | integer | `0`     | —        | IAB GVL vendor ID (required) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/remove-gvl-vendor/remove_gvl_vendor.go#L44).

## prb cookie-banner start-sample

Start a cookie banner sample.

### Usage

```text
prb cookie-banner start-sample <id>
```

Requires 1 positional argument.

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/start-sample/start_sample.go#L45).

## prb cookie-banner stop-sample

Stop a cookie banner sample.

### Usage

```text
prb cookie-banner stop-sample <id>
```

Requires 1 positional argument.

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/stop-sample/stop_sample.go#L45).

## prb cookie-banner translate

Upsert a translation for a language.

### Usage

```text
prb cookie-banner translate <id>
```

Requires 1 positional argument.

### Flags

| Flag             | Type   | Default | Required | Description                     |
| ---------------- | ------ | ------- | -------- | ------------------------------- |
| `--language`     | string | `""`    | Required | Language code (e.g. fr, de, es) |
| `--translations` | string | `""`    | Required | Translations JSON               |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/translate/translate.go#L49).

## prb cookie-banner update

Update a cookie banner.

### Usage

```text
prb cookie-banner update <id>
```

Requires 1 positional argument.

### Flags

| Flag                           | Type    | Default | Required | Description                                                      |
| ------------------------------ | ------- | ------- | -------- | ---------------------------------------------------------------- |
| `--consent-expiry-days`        | integer | `0`     | —        | Days until consent expires                                       |
| `--cookie-policy-url`          | string  | `""`    | —        | Cookie policy URL                                                |
| `--default-language`           | string  | `""`    | —        | Default language code                                            |
| `--force-opt-in`               | boolean | `false` | —        | Show the opt-in banner to every visitor regardless of regulation |
| `--name`                       | string  | `""`    | —        | Banner name                                                      |
| `--privacy-policy-url`         | string  | `""`    | —        | Privacy policy URL                                               |
| `--publisher-country-code`     | string  | `""`    | —        | IAB TCF publisher country (ISO 3166-1 alpha-2, or AA)            |
| `--resource-reporting-enabled` | boolean | `true`  | —        | Whether the SDK reports detected resources                       |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/update/update.go#L64).

## prb cookie-banner view

View a cookie banner.

### Usage

```text
prb cookie-banner view <id>
```

Requires 1 positional argument.

### Flags

| Flag             | Type    | Default | Required | Description                          |
| ---------------- | ------- | ------- | -------- | ------------------------------------ |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)  |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/cookie-banner/view/view.go#L108).
