メンバー
このプラグインのインストール手順と全マークダウンガイドを含む設定用の質問をコピーしてください。
組織メンバーは、Capgo組織にアクセスできるユーザーです。各メンバーには、組織内での権限を決定する特定の役割があります。メンバーを効果的に管理することは、チーム内のセキュリティとコラボレーションの維持に不可欠です。
メンバーの役割
「メンバーの役割」というセクション通常の役割
「通常の役割」というセクション- 読み取り:リソースを表示できますが、変更はできません。
- アップロード:新しいバンドルをアップロードし、リソースを表示できます。
- 書き込み:リソースを変更し、バンドルをアップロードできます。
- 管理者:組織の設定とメンバーを管理できます。
- 超管理者:組織の全ての制御権を持ちます。
招待ロール
組織のメンバーを招待する- 招待者(読み取り専用)__CAPGO_KEEP_0__
- 招待中__CAPGO_KEEP_0__
- __CAPGO_KEEP_0____CAPGO_KEEP_0__
- __CAPGO_KEEP_0____CAPGO_KEEP_0__
- __CAPGO_KEEP_0__ベストプラクティス
セクション「ベストプラクティス」
ロール割り当て- __CAPGO_KEEP_0__: 最小特権原則に従ってロールを割り当ててください
- 定期的な監査: メンバーのアクセスを定期的に確認し、使用されていないアカウントを削除してください
- 新規加入: 新しいメンバーを追加するための明確なプロセスを用意してください。ロールを割り当ててください
- 退職: 組織を離れたメンバーのアクセスをすぐに削除してください
エンドポイント
セクション:エンドポイントPOST
セクション:POSThttps://api.capgo.app/organization/members/
組織に新しいメンバーを追加するか、既存のメンバーのロールを更新します。ただし、既存の Capgo アカウントを持っているユーザーのみを招待できます。招待されたメールアドレスは、既存の Capgo ユーザーに紐付けされている必要があります。
__CAPGO_KEEP_0__
__CAPGO_KEEP_1__interface MemberCreate { orgId: string email: string role: "read" | "upload" | "write" | "admin" | "super_admin"}__CAPGO_KEEP_3__
__CAPGO_KEEP_4__curl -X POST \ -H "authorization: your-api-key" \ -H "Content-Type: application/json" \ -d '{ "orgId": "org_123", "email": "newmember@example.com", "role": "write" }' \ https://api.capgo.app/organization/members/__CAPGO_KEEP_6__
__CAPGO_KEEP_4__{ "status": "OK", "data": { "uid": "user_789", "email": "newmember@example.com", "role": "invite_write", "image_url": null }}__CAPGO_KEEP_8__
- __CAPGO_KEEP_9__
- The user must already have a Capgo account before they can be invited. If they don’t have an account, they should first create one at https://console.capgo.app/register/
GET
セクション「GET」https://api.capgo.app/organization/members/
組織の全員を取得します。
クエリ パラメータ
セクション「クエリ パラメータ」interface MemberQuery { orgId: string}レスポンスのタイプ
セクション「レスポンスのタイプ」interface Member { uid: string; email: string; image_url: string; role: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";}curl -H "authorization: your-api-key" \ "https://api.capgo.app/organization/members/?orgId=org_123"Example Response
Section titled “Example Response”{ "data": [ { "uid": "user_123", "email": "john@example.com", "image_url": "https://example.com/avatar.png", "role": "admin" }, { "uid": "user_456", "email": "jane@example.com", "image_url": "https://example.com/avatar2.png", "role": "write" }, { "uid": "user_789", "email": "bob@example.com", "image_url": null, "role": "invite_read" } ]}DELETE
Section titled “DELETE”https://api.capgo.app/organization/members/
メンバーを削除する。即時アクセスを取り消します。
Request Body
Section titled “Request Body”interface MemberDelete { orgId: string email: string}例のリクエスト
例のリクエストのセクションcurl -X DELETE \ -H "authorization: your-api-key" \ -H "Content-Type: application/json" \ -d '{ "orgId": "org_123", "email": "user@example.com" }' \ https://api.capgo.app/organization/members/成功レスポンス
成功レスポンスのセクション{ "status": "OK"}エラー処理
エラー処理のセクション一般的なエラーシナリオとそのレスポンス:
// Member not found{ "error": "Member not found", "status": "KO"}
// Invalid role{ "error": "Invalid role specified", "status": "KO"}
// Permission denied{ "error": "Insufficient permissions to manage members", "status": "KO"}
// Cannot remove last admin{ "error": "Cannot remove the last admin from the organization", "status": "KO"}
// Invalid email{ "error": "Invalid email format", "status": "KO"}
// Member already exists{ "error": "Member already exists in organization", "status": "KO"}- Team Expansion: Adding new team members with appropriate roles
- Access Control: Managing member permissions as responsibilities change
- Security Audit: Reviewing member list and roles periodically
- Team Restructuring: Updating roles during organizational changes
Keep going from Members
Section titled “Keep going from Members”If you are using メンバー __CAPGO_KEEP_0__ に接続してセキュリティとコンプライアンスを計画する 暗号化 __CAPGO_KEEP_0__ の暗号化実装詳細 コンプライアンス __CAPGO_KEEP_0__ のコンプライアンス実装詳細 Capgo セキュリティ スキャナー Capgo セキュリティ スキャナーの製品ワークフロー Capgo セキュリティ Capgo セキュリティの製品ワークフロー Capgo トラスト センター Capgo トラスト センターの製品ワークフロー