🔹 組織
このプラグインのインストール手順とマークダウンガイドを含むセットアッププロンプトをコピーします。
🏢 チームの協力とアプリケーション管理のために、Capgo Cloudで組織を管理します。
📋 List
「📋 リスト」タイトルのセクションAlias: l
npx @capgo/cli@latest organization list📋 Capgo にアクセスできるすべての組織の一覧を表示します。
例:
npx @capgo/cli@latest organization listオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| -a, | string | API のキーを使用してアカウントにリンクします |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | 自社ホスト用のカスタムスパバースアノンキー |
➕ Add
➕ 追加Alias: a
npx @capgo/cli@latest organization add➕ Capgo Cloudでチーム協力用の新しい組織を作成
例:
npx @capgo/cli@latest organization add --name "My Company" --email admin@mycompany.comオプション:
| パラメータ | 型 | 説明 |
|---|---|---|
| -n, | string | 組織名 |
| -e, | string | 組織の管理メールアドレス |
| -a, | string | APIキーでアカウントにリンクする |
| —supa-host | string | 自作サーバーでホストする場合のカスタム Supabase ホスト URL (または Capgo 開発用) |
| —supa-anon | string | 自作サーバーでホストする場合のカスタム Supabase anon キー |
🔹 メンバー
「 🔹 メンバー」というタイトルのセクションエイリアス: m
npx @capgo/cli@latest organization members👥 組織のメンバーと 2FA 状態をリスト表示します。 組織の全メンバーとその役割、および 2FA が有効になっているかどうかを表示します。 2FA の強制を有効にする前に、どのメンバーが影響を受けるかを確認するのに役立ちます。
ℹ️ 2FA 状態の表示には、組織内で super_admin 権限が必要です。
例:
npx @capgo/cli@latest organization members ORG_IDオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| -a、 | string | API のアカウントにリンクするためのキー |
| —supa-host | string | 自宅ホスティングまたは Capgo 開発用のカスタム Supabase ホスト URL |
| —supa-anon | string | 自宅ホスティング用のカスタム Supabase anon キー |
⚙️ 設定
セクションのタイトル “ ⚙️ Set”Alias: s
npx @capgo/cli@latest organization set⚙️ 組織の設定を更新するには、組織名、メールアドレス、セキュリティポリシー、強制オプションを含む。 セキュリティ設定には、super_admin ロールが必要です。
例:
npx @capgo/cli@latest organization set ORG_ID --name "New Name"オプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| -n、 | string | 組織名 |
| -e、 | string | 組織の管理メール |
| —enforce-2fa | boolean | 組織の全員に2FAの強制を有効にする |
| —no-enforce-2fa | boolean | 組織の2FAの強制を無効にする |
| —password-policy | boolean | 組織のパスワードポリシー強制を有効にする |
| —no-password-policy | boolean | 組織のパスワードポリシー強制を無効にする |
| —min-length | string | パスワードの最小文字数 (6-128, default: 10) |
| —require-uppercase | boolean | 大文字をパスワードに含める |
| —no-require-uppercase | boolean | 大文字をパスワードに含めない |
| —require-number | boolean | 数字をパスワードに含める |
| —no-require-number | boolean | 数字をパスワードに含めない |
| —require-special | boolean | 特殊文字をパスワードに含める |
| ---no-require-special--- | boolean | 特殊文字の要求なし |
| ---require-apikey-expiration--- | boolean | すべてのAPIキーに有効期限を設定する |
| ---no-require-apikey-expiration--- | boolean | APIキー有効期限の要求なし |
| ---max-apikey-expiration-days--- | string | APIキー有効期限の最大日数(1-365、nullで無制限) |
| ---enforce-hashed-api-keys--- | boolean | ハッシュ化されたAPIキーを強制(キー値はハッシュ化され、表示されるのは1度だけ) |
| ---no-enforce-hashed-api-keys--- | boolean | 平文のAPIキーを許可 |
| -a, | string | API を使用したアカウントへのリンク |
| —supa-host | string | 自宅ホスティングまたは Capgo 開発用のカスタム Supabase ホスト URL |
| —supa-anon | string | 自宅ホスティング用のカスタム Supabase anon キー |
🗑️ 削除
「🗑️ 削除」セクションAlias: d
npx @capgo/cli@latest organization delete🗑️ Capgo Cloud から組織を削除します。このアクションは取り消すことができません。 組織の所有者のみが組織を削除できます。
例:
npx @capgo/cli@latest organization delete ORG_IDオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| -a, | string | API でアカウントにリンクするためのキー |
| —supa-host | string | 自宅ホストまたはCapgo 開発用のカスタム Supabase ホスト URL |
| —supa-anon | string | 自作のSupabase anonキー(自社ホスティング用) |
組織から続ける
組織から続ける組織を使用して 組織 ダッシュボードとAPIの操作を計画する場合、APIと接続する APIの概要 APIの概要の実装詳細については、APIの概要を参照してください 導入 導入の実装詳細については、導入を参照してください APIのキー APIのキーについての実装詳細については、APIのキーを参照してください デバイス デバイスの実装詳細については、 バンドル バンドルの実装詳細については、