Skip to content

Teams

The teams command helps you manage the members inside your organization directly from the terminal.

Commands

list

List all the current team members in your organization.

Usage:

oneguard teams list
Description: Displays the ID, email, and role of each team member.

Note: The output lists your team members and automatically truncates their UUIDs to an 8-character prefix for easier reading.


invite

Invite a new member to your organization.

Usage:

oneguard teams invite --email <email> [--role <role>]
Options: - --email (Required): The email address of the person you want to invite. - --role: The role to assign to the new user. Allowed values: owner, admin, member, finance. (Default: member)

Description: Sends an invitation email to the specified address. If the user accepts, they will join your organization with the specified role.