> ## Documentation Index
> Fetch the complete documentation index at: https://getskydive.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# workspace

> Invite members, manage invitations, and create teams

`platform workspace` and `platform invites` manage who belongs to the [workspace](https://getskydive.com/docs/workspaces/overview.md): sending member invitations, listing the ones still pending, and revoking them. `platform team` creates teams inside that workspace and adds or removes members.

| Subcommand | What it does |
| - | - |
| `workspace invite <emails..>` | Invite one or more people to the workspace by email. Optional `--role` (`member`, `admin`, or `owner`; privileged roles require an owner). |
| `invites list` | List pending member invitations. |
| `invites add <email> [role]` | Invite a member to the workspace (same as `workspace invite` for one address). |
| `invites cancel <invitation-id>` | Revoke a pending invitation. |
| `team create <name>` | Create a team in the workspace. |
| `team add-member <team-id> <user-id>` | Add a workspace member to a team. |
| `team remove-member <team-id> <user-id>` | Remove a member from a team. |
| `team delete <team-id>` | Delete a team. Fails if any agents still have access to it. |

The agent can only act within its own permissions: granting `admin` or `owner` requires the workspace owner. Creating and changing teams requires a workspace admin or owner.

## Example

```bash theme={null}
platform workspace invite alex@example.com sam@example.com --role member
```

```bash theme={null}
platform invites list --json
```

```bash theme={null}
platform invites cancel inv_01J9Z2
```

```bash theme={null}
platform team create Growth
```

See [Teams](https://getskydive.com/docs/workspaces/teams.md) for what members can do once they join, and [Roles & access](https://getskydive.com/docs/workspaces/rbac.md) for what each role allows.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.