Skip to content

Suggested searches

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

    prb employee-portal command reference

    Reference for 8 commands under prb employee-portal, including usage, flag types and defaults, required flags, source examples, and implementation links

    Markdown

    Manage employee portals. This page documents 8 commands under prb employee-portal.

    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 employee-portalManage employee portals.prb employee-portal <command>View implementation
    prb employee-portal documentShare documents with an employee portal.prb employee-portal document <command>View implementation
    prb employee-portal document addShare a published document with an employee portal.prb employee-portal document addView implementation
    prb employee-portal document listList documents shared with an employee portal.prb employee-portal document listView implementation
    prb employee-portal document removeStop sharing a document with an employee portal.prb employee-portal document removeView implementation
    prb employee-portal listList employee portals.prb employee-portal listView implementation
    prb employee-portal updateUpdate employee portal settings.prb employee-portal updateView implementation
    prb employee-portal viewView employee portal settings.prb employee-portal viewView implementation

    Manage employee portals.

    prb employee-portal <command>

    View command implementation.

    Share documents with an employee portal.

    prb employee-portal document <command>

    View command implementation.

    Share a published document with an employee portal.

    prb employee-portal document add

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --documentstring""RequiredDocument ID
    --portalstring""RequiredEmployee portal ID
    Terminal window
    prb employee-portal document add \
    --portal <employee-portal-id> --document <document-id>

    View command implementation.

    List documents shared with an employee portal.

    prb employee-portal document list

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --afterstring""—Cursor from the previous page (the Next cursor line)
    --jsonbooleanfalse—Output JSON (same as —output json)
    --limit, -Linteger30—Maximum number of documents to list
    --order-directionstring"DESC"—Sort direction (ASC, DESC)
    --output, -ostring""—Output format: json, table (default)
    --portalstring""RequiredEmployee portal ID
    Terminal window
    prb employee-portal document list --portal <employee-portal-id>
    prb employee-portal document ls --portal <employee-portal-id> --output json

    View command implementation.

    Stop sharing a document with an employee portal.

    prb employee-portal document remove

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --idstring""RequiredEmployee portal document ID
    --yes, -ybooleanfalse—Skip confirmation prompt
    Terminal window
    prb employee-portal document remove --id <employee-portal-document-id>

    View command implementation.

    List employee portals.

    prb employee-portal list

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --afterstring""—Cursor from the previous page (the Next cursor line)
    --jsonbooleanfalse—Output JSON (same as —output json)
    --limit, -Linteger30—Maximum number of employee portals to list
    --order-directionstring"DESC"—Sort direction (ASC, DESC)
    --orgstring""—Organization ID
    --output, -ostring""—Output format: json, table (default)
    Terminal window
    # List employee portals for the default organization
    prb employee-portal list
    # List employee portals for a specific organization
    prb employee-portal ls --org <organization-id>

    View command implementation.

    Update employee portal settings.

    prb employee-portal update

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --activebooleanfalse—Enable or disable the employee portal
    --device-agentbooleanfalse—Offer the device agent in the employee app
    --namestring""—Display name of the employee portal
    --portalstring""RequiredEmployee portal ID
    Terminal window
    # Rename an employee portal
    prb employee-portal update --portal <portal-id> --name "Acme Employees"
    # Hide the device agent in the employee app
    prb employee-portal update --portal <portal-id> --device-agent=false

    View command implementation.

    View employee portal settings.

    prb employee-portal view

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --jsonbooleanfalse—Output JSON (same as —output json)
    --output, -ostring""—Output format: json, table (default)
    --portalstring""RequiredEmployee portal ID
    Terminal window
    # View an employee portal
    prb employee-portal view --portal <employee-portal-id>

    View command implementation.