# Add and manage workspace members

> Give a teammate access to your workspace, and change or remove their role

> Nevia is in early access for selected teams. The CLI installs with `curl -fsSL https://get.nevia.cloud | sh`, and the MCP server is at https://api.nevia.cloud/mcp. A person signs in once in the browser.
> Setup, sign-in and requesting access: [SKILL.md](https://nevia.cloud/SKILL.md). When Nevia fits and when it doesn't: [why.md](https://nevia.cloud/why.md).

> For the complete documentation index, see [llms.txt](https://nevia.cloud/llms.txt). This page's HTML version: https://nevia.cloud/docs/access/members

Your workspace is your team and its billing. Everyone in it reaches every
project, computer and database it holds, with the role you give them. To share
only some projects, give someone [scoped access](https://nevia.cloud/docs/access/scoped.md) instead.

You need the workspace's `admin` role. The examples use the
[CLI](https://nevia.cloud/docs/get-started/install-cli.md). Over [MCP](https://nevia.cloud/docs/get-started/mcp.md), an
agent does the same with `inspect_workspace_access`, `grant_workspace_access`
and `remove_workspace_access`. In the console, open **Access**.

## List who has access

```bash
nevia access ls
```

The list shows everyone with access: people by email and role, and any
[principals that sign in with a private key](https://nevia.cloud/docs/access/private-keys.md) by description.

## Add a member

In place of `dana@example.com`, use the email from
the person's `nevia whoami`, or their principal ID. Pick a role from
[Workspace permissions](https://nevia.cloud/docs/reference/workspace-permissions.md). Without `--role` a person
joins as a viewer. An editor can create and manage computers and databases:

```bash
nevia access add dana@example.com --role editor
```

If the email belongs to someone who has already signed in, that person joins
immediately and receives an email with a link to the workspace. They appear in the
access list with role `editor`:

```bash
nevia access ls
```

An email without an account gets an invitation instead. The API invites only
addresses that are allowed to sign up and rejects the rest. A pending invitation
stays valid for NEVIA\_INVITE\_TTL\_DAYS days (14 by default) and takes effect on the
person's first sign-in with a verified email. Re-inviting the same address resends
the email and updates the role. The invitation carries no secret. It points at the
console's sign-in page, and Nevia matches the account by verified email.

In the console, open **Access** under **Workspace** in the sidebar and add the
email there.

## List invitations

Pending invitations expire after their NEVIA\_INVITE\_TTL\_DAYS window.
The list shows pending invitations by default. Add `--state all` to include expired,
accepted and revoked ones:

```bash
nevia access invites ls
nevia access invites ls --state all
```

Each row shows the email, role, state, and when the invitation was sent and
expires. The console lists pending invitations in the **Access** table,
where you can resend or revoke one.

## Revoke an invitation

Revoking cancels a pending invitation before anyone uses it. The
address can still sign up, with no pending invite to this workspace. Pass the
invitation ID from the list:

```bash
nevia access invites rm 01d4cnjn1xy3n9dcwtjnxbxhf15
```

Confirm when prompted. Command options are in
[`nevia access`](https://nevia.cloud/docs/reference/cli/access.md).

## Change a role

To limit someone to inspecting resources, change their role to `viewer`:

```bash
nevia access set dana@example.com --role viewer
nevia access ls
```

Their role now reads `viewer`. Viewers can't run commands on computers or retrieve
database passwords.

The API refuses to demote or remove the last admin. Make another member an admin
first.

## Remove a member

Removing a member ends every access they had here, the workspace role and any
project grants the same workspace.

```bash
nevia access rm dana@example.com
nevia access ls
```

Confirm when prompted. The member no longer appears in the list.

Command options are in [`nevia access`](https://nevia.cloud/docs/reference/cli/access.md). To let a
script or agent act in the workspace, [give it access with a private key](https://nevia.cloud/docs/access/private-keys.md).
To share some projects instead of the workspace, see
[Give access to part of a workspace](https://nevia.cloud/docs/access/scoped.md).
