---
title: "Update an account"
method: POST
path: "/v1/accounts/{id}"
---

# Update an account

`POST /v1/accounts/{id}`

Updates an existing account by ID. Only included fields and relationships are modified.

The `$howTheyMakeMoney` and `$accountStatus` fields are read-only and cannot be updated. The `$opportunity`, `$task`, `$note`, and `$meeting` relationships are also read-only — manage them via the `$account` relationship on the opportunity or task, the `$account`/`$opportunity` note relationships, or via the meeting's `$contact` attendees that belong to this account.

Supports idempotency via the `Idempotency-Key` header.

**[Required scope](/using-the-api/scopes/):** `accounts:update`

**[Rate limit category](/using-the-api/rate-limits/):** Write

## Path parameters

- `id` string, required — Unique identifier of the account to update.

## Headers

- `Lightfield-Version` '2026-03-01', required

## Request body

- object
  - `fields` union — Field values to update — only provided fields are modified; omitted fields are left unchanged. System fields use a `$` prefix (e.g. `$name`); custom attributes use their bare slug. `SINGLE_SELECT` and `MULTI_SELECT` fields accept an option ID or label — call the <u>[definitions endpoint](/api/resources/account/methods/definitions)</u> for available options. See <u>[Fields and relationships](/using-the-api/fields-and-relationships/)</u> for value type details.
    - object
      - `$name` string, nullable — Display name of the account.
      - `$facebook` string, nullable — Facebook handle or profile identifier (`SOCIAL_HANDLE`).
      - `$headcount` string, nullable — Employee count range (`SINGLE_SELECT`). Pass the option ID or label from the field definition.
      - `$industry` string[], nullable — Industries the account operates in (`MULTI_SELECT`). Pass option IDs or labels from the field definition.
      - `$instagram` string, nullable — Instagram handle or profile identifier (`SOCIAL_HANDLE`).
      - `$lastFundingType` string, nullable — Most recent funding round type (`SINGLE_SELECT`). Pass the option ID or label from the field definition.
      - `$linkedIn` string, nullable — LinkedIn handle or profile identifier (`SOCIAL_HANDLE`).
      - `$primaryAddress` Address
        - `street` string, nullable — Street address line 1.
        - `street2` string, nullable — Street address line 2.
        - `city` string, nullable — City name.
        - `state` string, nullable — State or province.
        - `postalCode` string, nullable — Postal or ZIP code.
        - `country` string, nullable — 2-letter ISO 3166-1 alpha-2 country code.
        - `latitude` number, nullable — Latitude coordinate.
        - `longitude` number, nullable — Longitude coordinate.
      - `$twitter` string, nullable — Twitter/X handle (`SOCIAL_HANDLE`).
      - `$website` string[], nullable — Website URLs associated with the account (`URL`, multi-value).
    - object
  - `relationships` union — Relationship operations to apply. System relationships use a `$` prefix (e.g. `$owner`, `$contact`). Each value is an operation object with `add`, `remove`, or `replace`.
    - object
      - `$owner` object — Operation to modify the account owner.
        - `add` union — Entity ID(s) to add to the relationship.
          - string
          - string[]
        - `remove` union — Entity ID(s) to remove from the relationship.
          - string
          - string[]
        - `replace` union — Entity ID(s) to set as the relationship replacement, or null to clear supported relationships.
          - string
          - string[]
      - `$contact` object — Operation to modify associated contacts.
        - `add` union — Entity ID(s) to add to the relationship.
          - string
          - string[]
        - `remove` union — Entity ID(s) to remove from the relationship.
          - string
          - string[]
        - `replace` union — Entity ID(s) to set as the relationship replacement, or null to clear supported relationships.
          - string
          - string[]
      - `$files` object — Operation to add or remove file attachments.
        - `add` union — File ID(s) to attach to this record.
          - string
          - string[]
        - `remove` union — File ID(s) to detach from this record.
          - string
          - string[]
      - `$account-slack-channel` object — Operation to link or unlink Slack channels. Values are Lightfield channel IDs (prefixed `chn_`); linked channels must belong to the organization’s connected Slack workspace.
        - `add` union — Entity ID(s) to add to the relationship.
          - string
          - string[]
        - `remove` union — Entity ID(s) to remove from the relationship.
          - string
          - string[]
        - `replace` union — Entity ID(s) to set as the relationship replacement, or null to clear supported relationships.
          - string
          - string[]
    - object

## Response `200`

OK

- AccountUpdateResponse
  - `id` string, required — Unique identifier for the entity.
  - `createdAt` string, required — ISO 8601 timestamp of when the entity was created.
  - `updatedAt` string, nullable, required — ISO 8601 timestamp of when the entity was last updated, or null.
  - `httpLink` string, nullable, required — URL to view the entity in the Lightfield web app, or null.
  - `externalId` string, nullable — External identifier for the entity, or null if unset.
  - `fields` object, required — Map of field names to their typed values. System fields are prefixed with `$` (e.g. `$name`, `$email`); custom attributes use their bare slug.
  - `relationships` object, required — Map of relationship names to their associated entities. System relationships are prefixed with `$` (e.g. `$owner`, `$contact`).

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `409` — 409
- `415` — 415
- `422` — 422
- `429` — 429
- `500` — 500
- `501` — 501
- `503` — 503
- `504` — 504

---

[API](https://skmtc.net/lightfld/apis/api-reference.md) · [All operations](https://skmtc.net/lightfld/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightfld/api-reference/versions/93b6c5de5463/schema)
