ackDB

Set/clear attribute values on a company

:id = entity id or domain (identity-map resolved). All-or-nothing: every key/value is validated before anything is written. null clears a value — DELETEs the row, not a null-column write. Every REAL change emits a trait.updated event on the company timeline (actor = actor in the body, default "api"); a no-op write (value unchanged) writes and emits nothing.

put/api/v1/ackdb/entities/{id}/attributes

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Path parameters

idstring required

Company reference — an entity id (ULID) or a domain (e.g. acme.com).

Request body

valuesobject required

Map of attribute key → new value (or null to clear). Must be non-empty.

actorstring

Who made the change — recorded as the value row's updatedBy and the timeline event's actor (person.attribute.changed for people, trait.updated for companies/contacts). Defaults to "api". Observe/agent write paths stamp the real user automatically.

Response

{ entityId, applied: {key: value}, cleared: [key], updatedAt }.

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.