๐น ์กฐ์ง
__CAPGO_KEEP_0__ ํ๋ฌ๊ทธ์ธ์ ๋ํ ์ค์น ๋จ๊ณ์ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๋ฅผ ํฌํจํ ์ค์ ํ๋กฌํํธ ๋ณต์ฌํ๊ธฐ.
๐ข Manage your organizations in Capgo Cloud for team collaboration and app management.
๐ ๋ชฉ๋กโ์ด๋ผ๋ ์ ๋ชฉ์ ๊ฐ์ง ์น์
Alias:__CAPGO_KEEP_0__ l
npx @capgo/cli@latest organization list๐ Capgo์ ์ ๊ทผ ๊ฐ๋ฅํ ๋ชจ๋ ์กฐ์ง ๋ชฉ๋ก์ ํ์ํฉ๋๋ค.
์์:
npx @capgo/cli@latest organization list์ต์ :
| Param | Type | Description |
|---|---|---|
| -a, | string | API ํค๋ฅผ ํด๋ฆญํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐํฉ๋๋ค. |
| โsupa-host | string | Capgo์์ ์ฌ์ฉํ๋ ์ปค์คํ ์ํ๋ฒ ์ด์ค ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ ๊ฐ๋ฐ์ฉ) |
| โsupa-anon | string | __CAPGO_KEEP_0__์์ ์ฌ์ฉํ๋ ์ปค์คํ ์ํ๋ฒ ์ด์ค ์ต๋ช ํค (์์ฒด ํธ์คํ ) |
โ Add
โ ์ถ๊ฐํ๊ธฐAlias: a
npx @capgo/cli@latest organization addCapgo์ Cloud์์ ํ ํ์ ์ ์ํ ์๋ก์ด ์กฐ์ง์ ์์ฑํ์ธ์.
Example:
npx @capgo/cli@latest organization add --name "My Company" --email admin@mycompany.com์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| -n, | string | ํ์ฌ ์ด๋ฆ |
| -e, | string | __CAPGO_KEEP_0__ ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| โsupa-host | string | API key to link to your account |
| โsupa-host | string | Capgo ๊ฐ์ธ ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ ๊ฐ๋ฐ์ฉ) |
| โ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์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -a, | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค์ ๋๋ค. |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ ์ํด ์ฌ์ฉํ๋ Supabase anon ํค์ ๋๋ค. |
โ๏ธ ์ค์
โ๏ธ ์ค์ Alias: s
npx @capgo/cli@latest organization setโ๏ธ ์กฐ์ง ์ค์ (์ด๋ฆ, ์ด๋ฉ์ผ, ๋ณด์ ์ ์ฑ , ๊ฐ์ ์ต์ ํฌํจ) ์ ๋ฐ์ดํธ. ๋ณด์ ์ค์ ์ super_admin ์ญํ ์ด ํ์ํฉ๋๋ค.
์์:
npx @capgo/cli@latest organization set ORG_ID --name "New Name"์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -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, ๊ธฐ๋ณธ๊ฐ: 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 for no limit) |
| โenforce-hashed-api-keys | boolean | API ํค๋ฅผ ์ํธํํ์ฌ ์ ์ฅ (ํค ๊ฐ์ ํ ๋ฒ๋ง ํ์) |
| โno-enforce-hashed-api-keys | boolean | API ํค๋ฅผ ํ๋ฌธ์ผ๋ก ์ ์ฅ ํ์ฉ |
| -a, | string | API ํค๋ฅผ ํด๋ฆญํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐํ์ธ์. |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ ์ํด ์ฌ์ฉํ๋ Custom 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 | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ๊ฐ์ธ ํธ์คํ ์ ์ํ Supabase ์ต๋ช ํค (Custom Supabase anon key) |
๋ค์ ๋จ๊ณ๋ก ์งํ
๋ค์ ๋จ๊ณ๋ก ์งํ์ด๋ฌํ ๊ธฐ๋ฅ์ ์ฌ์ฉ ์ค์ด๋ผ๋ฉด organization organization์ ํตํด ๋์๋ณด๋์ API ์ด์์ ๊ณํํ๊ณ ์๋ค๋ฉด API Overview API Overview์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด๋ฅผ ํ์ธํ๋ ค๋ฉด ์๊ฐ ์๊ฐ์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด๋ฅผ ํ์ธํ๋ ค๋ฉด API Keys API Keys์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด๋ฅผ ํ์ธํ๋ ค๋ฉด ๊ธฐ๊ธฐ ๊ธฐ๊ธฐ ๊ตฌํ ์ธ๋ถ ์ฌํญ์ ๋ํด ํจํค์ง ํจํค์ง ๊ตฌํ ์ธ๋ถ ์ฌํญ์ ๋ํด