Teams are a OneCLI Cloud feature. Self-hosted OneCLI is for one person.
Roles
An owner cannot be suspended or removed, and cannot leave. Change their role first. Nobody changes their own role.
Invite a person
- Dashboard
- API
1
Open the team page
In the sidebar, under Organization, click Team.
2
Create the invitation
Click Invite. Choose the role, Admin or Member, and enter their email address. Click Create invitation.
3
Share the link
OneCLI emails the link when mail is set up. You can also click Copy invitation link and send it yourself.
Change, suspend or remove a member
On the Team page, the Members tab lists everyone with their role. Open a member’s actions to pick one:- Change role: make them an admin or a member. Only an owner can make someone an owner.
- Suspend member and Reinstate member: a suspended member, and any API key they made, is refused until you reinstate them. An owner cannot be suspended.
- Remove member: before you confirm, OneCLI shows the personal vaults that removing them deletes.
- Transfer ownership: an owner makes an active admin an owner, and becomes an admin.
PATCH /v2/members/{id} makes one change per call. Transfer ownership and making someone an owner need a signed-in session, not an API key. See Members for each call.
Leave an organization
At the bottom of the Team page, use Leave organization. OneCLI shows the vaults that leaving deletes before you confirm. With the API, callDELETE /v2/members/{id} with your own id, from a signed-in session.
Give roles through groups
A group from your directory can give its members a role, Admin or Member, so a whole team gets the same role at once. See Shared vaults and groups and SSO and directory sync.Next steps
- Shared vaults and groups: choose who can use each vault
- SSO and directory sync: sign in through your identity provider
- Members API and Invites API