Declare a new lab; you become its manager
Declare a new lab. Without --organization the lab is Personal. With it, the lab is filed under the organization of that name you already belong to, or a new one you own; the lab's institution becomes the organization's name. --organization-kind and --owned-by are then required. Needs a signed-in session (labbench login); an API token is refused with 401.
labbench lab create [flags]
labbench lab create --name <name>
| Flag | Type | Default | Description |
|---|---|---|---|
--allow-existing-lab | bool | false | explicitly allow declaring another lab |
--idempotency-key | string | UUID to reuse when retrying an unknown result (default: a new UUID) | |
--institution | string | institution (ignored when --organization is given) | |
--kind | string | kind of lab, e.g. academic or industry | |
--name (required) | string | lab name | |
--organization | string | organization to file the lab under, by name; matches only organizations you belong to | |
--organization-kind | string | institution, company or lab (with --organization); lab makes the lab its own organization and needs --owned-by organization | |
--owned-by | string | me (the organization is an affiliation) or organization (it owns the lab); with --organization |
Every command also accepts the global flags.