## Update a meeting `client.Meeting.Update(ctx, id, body) (*MeetingUpdateResponse, error)` **post** `/v1/meetings/{id}` Updates an existing meeting by ID. Only included fields and relationships are modified. Only `fields.$privacySetting` and `relationships.$transcript.replace` are writable. Use `$transcript.replace` to set the meeting transcript. Clearing or removing `$transcript` is not supported. The response is privacy-aware and includes a read-only `accessLevel`. See [Uploading meeting transcripts](/using-the-api/uploading-meeting-transcripts/) for the full file upload and transcript attachment flow. Supports idempotency via the `Idempotency-Key` header. **[Required scope](/using-the-api/scopes/):** `meetings:update` **[Rate limit category](/using-the-api/rate-limits/):** Write ### Parameters - `id string` Unique identifier of the meeting to update. - `body MeetingUpdateParams` - `Fields param.Field[MeetingUpdateParamsFields]` Field values to update. Only `$privacySetting` is writable, and omitted fields are left unchanged. - `PrivacySetting string` The privacy setting for the meeting. - `const MeetingUpdateParamsFieldsPrivacySettingFull MeetingUpdateParamsFieldsPrivacySetting = "FULL"` - `const MeetingUpdateParamsFieldsPrivacySettingMetadata MeetingUpdateParamsFieldsPrivacySetting = "METADATA"` - `Relationships param.Field[MeetingUpdateParamsRelationships]` Relationship operations to apply. Only `$transcript.replace` is supported; removing or clearing `$transcript` is not supported. - `Transcript MeetingUpdateParamsRelationshipsTranscript` - `Replace string` The file ID to set as the meeting transcript. ### Returns - `type MeetingUpdateResponse struct{…}` - `ID string` Unique identifier for the entity. - `AccessLevel MeetingUpdateResponseAccessLevel` The caller's resolved access level for this meeting. - `const MeetingUpdateResponseAccessLevelFull MeetingUpdateResponseAccessLevel = "FULL"` - `const MeetingUpdateResponseAccessLevelMetadata MeetingUpdateResponseAccessLevel = "METADATA"` - `CreatedAt string` ISO 8601 timestamp of when the entity was created. - `Fields map[string, MeetingUpdateResponseField]` Map of field names to their typed values. System fields are prefixed with `$` (e.g. `$name`, `$email`); custom attributes use their bare slug. - `Value MeetingUpdateResponseFieldValueUnion` The field value, or null if unset. - `string` - `float64` - `bool` - `type MeetingUpdateResponseFieldValueArray []string` - `type MeetingUpdateResponseFieldValueAddress struct{…}` - `City string` City name. - `Country string` 2-letter ISO 3166-1 alpha-2 country code. - `Latitude float64` Latitude coordinate. - `Longitude float64` Longitude coordinate. - `PostalCode string` Postal or ZIP code. - `State string` State or province. - `Street string` Street address line 1. - `Street2 string` Street address line 2. - `type MeetingUpdateResponseFieldValueFullName struct{…}` - `FirstName string` The contact's first name. - `LastName string` The contact's last name. - `ValueType string` The data type of the field. - `const MeetingUpdateResponseFieldValueTypeAddress MeetingUpdateResponseFieldValueType = "ADDRESS"` - `const MeetingUpdateResponseFieldValueTypeCheckbox MeetingUpdateResponseFieldValueType = "CHECKBOX"` - `const MeetingUpdateResponseFieldValueTypeCurrency MeetingUpdateResponseFieldValueType = "CURRENCY"` - `const MeetingUpdateResponseFieldValueTypeDatetime MeetingUpdateResponseFieldValueType = "DATETIME"` - `const MeetingUpdateResponseFieldValueTypeEmail MeetingUpdateResponseFieldValueType = "EMAIL"` - `const MeetingUpdateResponseFieldValueTypeFullName MeetingUpdateResponseFieldValueType = "FULL_NAME"` - `const MeetingUpdateResponseFieldValueTypeMarkdown MeetingUpdateResponseFieldValueType = "MARKDOWN"` - `const MeetingUpdateResponseFieldValueTypeMultiSelect MeetingUpdateResponseFieldValueType = "MULTI_SELECT"` - `const MeetingUpdateResponseFieldValueTypeNumber MeetingUpdateResponseFieldValueType = "NUMBER"` - `const MeetingUpdateResponseFieldValueTypeSingleSelect MeetingUpdateResponseFieldValueType = "SINGLE_SELECT"` - `const MeetingUpdateResponseFieldValueTypeSocialHandle MeetingUpdateResponseFieldValueType = "SOCIAL_HANDLE"` - `const MeetingUpdateResponseFieldValueTypeTelephone MeetingUpdateResponseFieldValueType = "TELEPHONE"` - `const MeetingUpdateResponseFieldValueTypeText MeetingUpdateResponseFieldValueType = "TEXT"` - `const MeetingUpdateResponseFieldValueTypeURL MeetingUpdateResponseFieldValueType = "URL"` - `HTTPLink string` URL to view the entity in the Lightfield web app, or null. - `ObjectType MeetingUpdateResponseObjectType` Always `meeting`. - `const MeetingUpdateResponseObjectTypeMeeting MeetingUpdateResponseObjectType = "meeting"` - `Relationships map[string, MeetingUpdateResponseRelationship]` Map of relationship names to their associated entities. System relationships are prefixed with `$` (e.g. `$owner`, `$contact`). - `Cardinality string` Whether the relationship is `has_one` or `has_many`. - `ObjectType string` The type of the related object (e.g. `account`, `contact`). - `Values []string` IDs of the related entities. - `UpdatedAt string` ISO 8601 timestamp of when the entity was last updated, or null. - `ExternalID string` External identifier for the entity, or null if unset. ### Example ```go package main import ( "context" "fmt" "github.com/Lightfld/lightfield-go" "github.com/Lightfld/lightfield-go/option" ) func main() { client := githubcomlightfldlightfieldgo.NewClient( option.WithAPIKey("My API Key"), ) meetingUpdateResponse, err := client.Meeting.Update( context.TODO(), "id", githubcomlightfldlightfieldgo.MeetingUpdateParams{ }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", meetingUpdateResponse.ID) } ``` #### Response ```json { "id": "id", "accessLevel": "FULL", "createdAt": "createdAt", "fields": { "foo": { "value": "string", "valueType": "ADDRESS" } }, "httpLink": "httpLink", "objectType": "meeting", "relationships": { "foo": { "cardinality": "cardinality", "objectType": "objectType", "values": [ "string" ] } }, "updatedAt": "updatedAt", "externalId": "externalId" } ```