Skip to content

Products

Compliance Officer Service Expert-led compliance, end to end Compliance Portal Share security documents securely Document Management Draft, approve, and sign your policies Employee Portal Your whole team’s compliance, in one portal Access Review Monitor user access across all your systems AI Agents Run compliance from the tools you use Cookie Banner Consent that follows every visitor's law Device Agent Continuous security posture for every device Open-source platform Deploy Probo on your own infrastructure

Resources

Probo stories How teams get compliant with Probo Blog Ideas and guidance from the Probo team Guides & tools Practical compliance guides and free tools Love from Customers What customers say about working with Probo Changelog Latest product updates Download Get the Device Agent

Company

About The people and vision powering Probo Careers Join the team building Probo Brand assets Official logos and visual resources Security Review our security and compliance posture
Overview Understand Probo and its core concepts Product Explore Probo's GRC capabilities Developers Explore GraphQL, CLI, MCP, n8n, and webhooks Deployment Probo Cloud, self-hosting, and configuration

Explore

GitHub Explore our open-source compliance tools

Try searching for

Tab to move through results · Enter to open · Esc to close

prb user command reference

Reference for 5 commands under prb user, including usage, flag types and defaults, required flags, source examples, and implementation links

View as Markdown

Manage users. This page documents 5 commands under prb user.

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 userManage users.prb user <command>View implementation
prb user deactivateDeactivate a user.prb user deactivate <id>View implementation
prb user listList users in an organization.prb user listView implementation
prb user removeRemove a user.prb user remove <id>View implementation
prb user viewView a user.prb user view <id>View implementation

Manage users.

prb user <command>

View command implementation.

Deactivate a user.

prb user deactivate <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--orgstring""—Organization ID
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

List users in an organization.

prb user list

Accepts no positional arguments.

FlagTypeDefaultRequiredDescription
--afterstring""—Cursor from the previous page (the Next cursor line)
--contract-endedstring""—Filter by contract status (true or false)
--filter, -qstring""—Filter users by name or email search query
--jsonbooleanfalse—Output JSON (same as —output json)
--kindstring""—Filter by profile kind (EMPLOYEE, CONTRACTOR, SERVICE_ACCOUNT)
--limit, -Linteger30—Maximum number of users to list
--order-bystring""—Order by field (FULL_NAME, CREATED_AT, KIND)
--order-directionstring"DESC"—Sort direction (ASC, DESC)
--orgstring""—Organization ID
--output, -ostring""—Output format: json, table (default)
--rolestring""—Filter by membership role (OWNER, ADMIN, VIEWER, AUDITOR, EMPLOYEE, COMPLIANCE_PORTAL_MANAGER, COMPLIANCE_PORTAL_ACCESS_MANAGER)
--statestring list[]—Filter by profile state; repeat or comma-separate for multiple (PENDING, ACTIVE, DEACTIVATED)
Terminal window
# List users in the default organization
prb user list
# List only active users
prb user ls --state ACTIVE
# Search users by name or email
prb user ls --filter alice
# List only admins
prb user ls --role ADMIN
# Filter by type
prb user ls --kind EMPLOYEE
# List users whose contract has ended
prb user ls --contract-ended true

View command implementation.

Remove a user.

prb user remove <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--orgstring""—Organization ID
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

View a user.

prb user view <id>

Requires 1 positional argument.

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

View command implementation.