labbench locations | All commands
Add several locations at once (managers only)
Add several locations at once (managers only). Adds every location or none, in one transaction (up to 100). The input is a JSON array of {"name": ..., "description": ..., "kind": ..., "kind_label": ..., "temperature_c": ..., "properties": {...}} objects, from --file (a path, or - for stdin) or inline as --data. A refused batch names the 0-based row that caused it. Needs a signed-in session: an API token is refused.
labbench locations create-batch [flags]
labbench locations create-batch
| Flag | Type | Default | Description |
|---|---|---|---|
--data | string | JSON array of rows, inline | |
--file | string | JSON file of rows, or - for stdin |
Every command also accepts the global flags.