Skip to content

Suggested searches

    Search all documentation ↑↓ to navigate Enter to open Esc to close

    prb tracker-resource command reference

    Reference for 7 commands under prb tracker-resource, including usage, flag types and defaults, required flags, source examples, and implementation links

    Markdown

    Manage tracker resources. This page documents 7 commands under prb tracker-resource.

    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.

    CommandDescriptionUsageSource
    prb tracker-resourceManage tracker resources.prb tracker-resource <command>View implementation
    prb tracker-resource createCreate a new tracker resource.prb tracker-resource createView implementation
    prb tracker-resource deleteDelete a tracker resource.prb tracker-resource delete <id>View implementation
    prb tracker-resource listList tracker resources in a category.prb tracker-resource listView implementation
    prb tracker-resource moveMove a tracker resource to a different category.prb tracker-resource move <id>View implementation
    prb tracker-resource updateUpdate a tracker resource.prb tracker-resource update <id>View implementation
    prb tracker-resource viewView a tracker resource.prb tracker-resource view <id>View implementation

    Manage tracker resources.

    prb tracker-resource <command>

    View command implementation.

    Create a new tracker resource.

    prb tracker-resource create
    FlagTypeDefaultRequiredDescription
    --category-idstring""RequiredCookie category ID (required)
    --descriptionstring""—Description
    --display-namestring""—Display name (required)
    --originstring""—Origin URL (required)
    --pathstring""—Resource path (required)
    --resource-typestring""—Resource type: SCRIPT, IFRAME, IMAGE, STYLESHEET, FONT, BEACON, FETCH, MEDIA or SERVICE_WORKER (required)

    View command implementation.

    Delete a tracker resource.

    prb tracker-resource delete <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --yes, -ybooleanfalse—Skip confirmation prompt

    View command implementation.

    List tracker resources in a category.

    prb tracker-resource list

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --afterstring""—Cursor from the previous page (the Next cursor line)
    --category-idstring""RequiredCookie category ID (required)
    --jsonbooleanfalse—Output JSON (same as —output json)
    --limit, -Linteger30—Maximum number of items
    --output, -ostring""—Output format: json, table (default)

    View command implementation.

    Move a tracker resource to a different category.

    prb tracker-resource move <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --target-category-idstring""RequiredTarget cookie category ID (required)

    View command implementation.

    Update a tracker resource.

    prb tracker-resource update <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --descriptionstring""—Description
    --display-namestring""—Display name
    --excludedbooleanfalse—Exclude resource from consent banner

    View command implementation.

    View a tracker resource.

    prb tracker-resource view <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --jsonbooleanfalse—Output JSON (same as —output json)
    --output, -ostring""—Output format: json, table (default)

    View command implementation.