> ## 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

> Square Cloud 上の workspace のメンバーを管理します。

workspace のメンバーの追加、更新、削除を行い、参加に使う招待コードを生成します。`<group>` には `owner`、`admin`、`maintain`、`manager`、`view` のいずれかを指定します。`owner` と `admin` はフル管理権限を持ち、`maintain` は運用アクセスを追加し、`manager` は監視とライフサイクル制御をカバーし、`view` は読み取り専用です。

```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.
```

`remove` サブコマンドは破壊的な操作です。メンバーを削除する前に `y/N` の確認を求めます。確認をスキップするには `-y`/`--yes` を指定してください。

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

このコマンドの詳細については `squarecloud workspace member --help` を使用してください。
