🔹 organization
Este contenido aún no está disponible en tu idioma.
🏢 Manage your organizations in Capgo Cloud for team collaboration and app management.
📋 List
Section titled “ 📋 List”Alias: l
npx @capgo/cli@latest organization list📋 List all organizations you have access to in Capgo Cloud.
Example:
npx @capgo/cli@latest organization listOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | API key to link to your account |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
Alias: a
npx @capgo/cli@latest organization add➕ Create a new organization in Capgo Cloud for team collaboration.
Example:
npx @capgo/cli@latest organization add --name "My Company" --email admin@mycompany.comOptions:
| Param | Type | Description |
|---|---|---|
| -n, | string | Organization name |
| -e, | string | Management email for the organization |
| -a, | string | API key to link to your account |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
🔹 Members
Section titled “ 🔹 Members”Alias: m
npx @capgo/cli@latest organization members👥 List organization members and their 2FA status. Shows all members of an organization with their roles and whether they have 2FA enabled. Useful before enabling 2FA enforcement to see which members will be affected.
ℹ️ Viewing 2FA status requires super_admin rights in the organization.
Example:
npx @capgo/cli@latest organization members ORG_IDOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | API key to link to your account |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
⚙️ Set
Section titled “ ⚙️ Set”Alias: s
npx @capgo/cli@latest organization set⚙️ Update organization settings including name, email, security policies, and enforcement options. Security settings require super_admin role.
Example:
npx @capgo/cli@latest organization set ORG_ID --name "New Name"Options:
| Param | Type | Description |
|---|---|---|
| -n, | string | Organization name |
| -e, | string | Management email for the organization |
| —enforce-2fa | boolean | Enable 2FA enforcement for all organization members |
| —no-enforce-2fa | boolean | Disable 2FA enforcement for organization |
| —password-policy | boolean | Enable password policy enforcement for organization |
| —no-password-policy | boolean | Disable password policy enforcement |
| —min-length | string | Minimum password length (6-128, default: 10) |
| —require-uppercase | boolean | Require uppercase letter in password |
| —no-require-uppercase | boolean | Do not require uppercase letter |
| —require-number | boolean | Require number in password |
| —no-require-number | boolean | Do not require number |
| —require-special | boolean | Require special character in password |
| —no-require-special | boolean | Do not require special character |
| —require-apikey-expiration | boolean | Require all API keys to have an expiration date |
| —no-require-apikey-expiration | boolean | Do not require API key expiration |
| —max-apikey-expiration-days | string | Maximum days before API key expiration (1-365, null for no limit) |
| —enforce-hashed-api-keys | boolean | Enforce hashed/secure API keys (key value stored as hash, shown only once) |
| —no-enforce-hashed-api-keys | boolean | Allow plain-text API keys |
| -a, | string | API key to link to your account |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
🗑️ Delete
Section titled “ 🗑️ Delete”Alias: d
npx @capgo/cli@latest organization delete🗑️ Delete an organization from Capgo Cloud. This action cannot be undone. Only organization owners can delete organizations.
Example:
npx @capgo/cli@latest organization delete ORG_IDOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | API key to link to your account |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |