๐น organization
์ด ์ฝํ ์ธ ๋ ์์ง ๊ทํ์ ์ธ์ด๋ก ์ ๊ณต๋์ง ์์ต๋๋ค.
๐ข 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) |