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

# squarecloud workspace member

> Manages the members of a workspace on Square Cloud.

Adds, updates and removes workspace members, and generates the invite code used to join one. `<group>` is one of `owner`, `admin`, `maintain`, `manager` or `view`: `owner` and `admin` have full management, `maintain` adds operational access, `manager` covers monitoring and lifecycle control, and `view` is read-only.

```bash theme={null}
squarecloud workspace member invite-code
# Generates your own single-use invite code, valid for 5 minutes. Share it with the workspace owner or an admin.
```

```bash theme={null}
squarecloud workspace member add <workspaceID> <inviteCode> <group>
# Adds the user who generated <inviteCode> to the workspace with the given permission group.
```

```bash theme={null}
squarecloud workspace member update <workspaceID> <memberID> <group>
# Changes an existing member's permission group.
```

```bash theme={null}
squarecloud workspace member remove <workspaceID> <memberID>
# Removes a member from the workspace.
```

The `remove` subcommand is destructive: it asks for `y/N` confirmation before removing the member. Pass `-y`/`--yes` to skip the prompt.

```bash theme={null}
squarecloud workspace member remove <workspaceID> <memberID> -y
# Removes the member without a confirmation prompt.
```

Use `squarecloud workspace member --help` for more information about this command.
