Skip to main content
Patch the display name on a company record. The command takes a single required flag, --display-name, and returns the updated record so you can confirm the write succeeded. displayName is the only editable field; domain and peopleCount are read-only, derived from registrations.

Synopsis

talkvalue path company update <id> --display-name <name>

Arguments

ArgumentTypeDescription
<id>integerCompany ID to update.

Options

FlagTypeDescription
--display-name <name>string (required)Replace the company display name.

Examples

1. Rename a company

talkvalue path company update 88 --display-name "Acme Corporation"
Prints the updated record as a table. Only displayName changes server-side. domain and peopleCount stay the same.

2. Confirm the rename in a script

talkvalue path company update 88 --display-name "Acme Corporation" --json \
  | jq -e '.data.displayName == "Acme Corporation"'
jq -e exits non-zero if the assertion fails, so the script halts when the rename did not take effect.

3. Capture the response for an audit log

ts=$(date +%Y-%m-%d)
talkvalue path company update 88 --display-name "Acme Corporation" --json \
  | tee -a "audit-$ts.jsonl"
Appends the full response to a daily JSONL log. Pair with person activity to reconstruct who made which company change and when.

Response

{
  "data": {
    "id": 88,
    "domain": "acme.com",
    "displayName": "Acme Corporation",
    "peopleCount": 142
  }
}
The shape matches company get. Re-run company get if you want to re-read the record without writing.

See also