Commands
lin customer
Create, inspect and manage customers
Create, inspect and manage customers
lin customer create
Create a customer
lin customer createExample
lin customer create --name "Acme Corp" --domains acme.com| Flag | Type | Default | Description |
|---|---|---|---|
--domains | stringSlice | [] | customer domains (comma list) |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--external-ids | stringSlice | [] | external ids (comma list) |
--json | string | - | raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags |
--name | string | - | customer name (required) |
--owner | string | - | owner: email, UUID or "me" |
lin customer delete
Delete a customer (requires --confirm=<id>)
lin customer delete <id>| Flag | Type | Default | Description |
|---|---|---|---|
--confirm | string | - | confirm the destructive action by repeating the resource id |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin customer get
Show one customer
lin customer get <id>lin customer list
List customers
lin customer list| Flag | Type | Default | Description |
|---|---|---|---|
--all, -a | bool | false | follow cursors until exhaustion |
--cursor | string | - | resume from a previous next_cursor |
--limit, -l | int | 50 | page size |
--query | string | - | filter by name (contains, case-insensitive) |
lin customer merge
Merge one customer into another (source is absorbed, requires --confirm)
lin customer merge| Flag | Type | Default | Description |
|---|---|---|---|
--confirm | string | - | confirm the destructive action by repeating the resource id |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--source | string | - | customer UUID to merge away |
--target | string | - | customer UUID that absorbs the source |
lin customer unsync
Detach a customer from its external sync source
lin customer unsync <id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin customer update
Update a customer
lin customer update <id>| Flag | Type | Default | Description |
|---|---|---|---|
--domains | stringSlice | [] | customer domains (comma list) |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--external-ids | stringSlice | [] | external ids (comma list) |
--name | string | - | customer name |
--owner | string | - | owner: email, UUID or "me" |
lin customer upsert
Create or update a customer by external id or domain
lin customer upsert| Flag | Type | Default | Description |
|---|---|---|---|
--domains | stringSlice | [] | customer domains (comma list) |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--external-id | string | - | external system id |
--json | string | - | raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags |
--name | string | - | customer name |