bird auth create-org
Usage
bird auth create-org <org_name> [flags]Description
Create your organization and workspace and mint your credential
Creates the organization and workspace from the onboarding_ticket, then stores the minted credential so "bird" and the MCP server authenticate as you. The ticket is required even when the CLI already has a bearer credential. Creation consumes it. If creation commits but the response is lost, use "bird auth login --device" to access the existing organization. A consumed ticket cannot issue another credential. When the response carries an offer, tell the customer its outcome: a granted offer is already in force and a refusal is final.
--accept-terms states that the owner agreed to the Terms on behalf of the new organization. Show the owner the page from "bird auth terms" and pass its version only once they agree. Without it the API returns E02100 when acceptance is required.
Build the request from the <org_name> argument and flags, a JSON OnboardingRequest body via --body-file ("-" reads stdin), or both — an inline value overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.
Procedure
Step 4 of 4 of "Sign up and create your organization". Previous: bird auth terms.
Examples
# print the body shape (no credentials needed)
bird auth create-org --example
# the body it prints:{
"onboarding_ticket": "obt_9mP2wR5tY8uI1oL4nJ",
"org_name": "Acme Corp",
"region": "us1",
"terms_acceptance": {
"surface": "cli",
"terms_version": "2024-11-21",
"ui_copy_version": "onboarding-cli-v1"
},
"workspace_name": "Production"
}# finish signup and store the credential
bird auth create-org Acme --workspace-name Prod --region us1 --onboarding-ticket obt_... --accept-terms 2024-11-21Options
Organization
| Name | Description |
|---|---|
--workspace-name | Name of the workspace under the organization |
--region | Region the new account and its data live in (e.g. us1 or eu1) |
--onboarding-ticket | The single-use onboarding ticket returned by verify-email |
--partner-code | Partner code, if a partner gave you one. Omit it for no offer |
--accept-terms | Terms of Service version the owner agrees to on behalf of this organization, from "bird auth terms" |
Request
| Name | Description |
|---|---|
--body-file | Read the JSON request body from this file; "-" reads stdin |
--example | Print a complete example request body, then exit |
--dry-run | Print the resolved request without sending it, then exit |
--idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
--response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
bird auth login | Authenticate with Bird through your browser (OAuth) |
bird auth logout | Revoke the OAuth grant (if any) and remove the stored credentials file |
bird auth signup | Start a passwordless Bird signup and email a six-digit code |
bird auth status | Show current authentication state and validate the token against the API |
bird auth terms | Get the current Terms of Service |
bird auth verify-email | Confirm the emailed six-digit code and sign in |
Verwandte Ressourcen
Weiter mit der Dokumentation, Anleitungen und Beispielen zu diesem Thema.