> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trytalkvalue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# talkvalue path company update

> Update a company's display name. Returns the updated record.

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

```bash theme={null}
talkvalue path company update <id> --display-name <name>
```

## Arguments

| Argument | Type    | Description           |
| -------- | ------- | --------------------- |
| `<id>`   | integer | Company ID to update. |

## Options

| Flag                    | Type              | Description                       |
| ----------------------- | ----------------- | --------------------------------- |
| `--display-name <name>` | string (required) | Replace the company display name. |

## Examples

### 1. Rename a company

```bash theme={null}
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

```bash theme={null}
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

```bash theme={null}
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`](/cli/commands/path/person/activity) to reconstruct who made which company change and when.

## Response

```jsonc theme={null}
{
  "data": {
    "id": 88,
    "domain": "acme.com",
    "displayName": "Acme Corporation",
    "peopleCount": 142
  }
}
```

The shape matches [`company get`](/cli/commands/path/company/get). Re-run `company get` if you want to re-read the record without writing.

## See also

* [`company get`](/cli/commands/path/company/get). Inspect the record before and after.
* [`company list`](/cli/commands/path/company/list). Find the ID first.
* [Companies](/path/manage/companies). The dashboard surface this command mirrors.
