Set Collaborator Property Value
PUT /organizations/{orgId}/collaborator-records/{recordId}/properties/{propertyId}
/organizations/{orgId}/collaborator-records/{recordId}/properties/{propertyId}Sets one attribute value on a collaborator, creating or replacing it; a null value clears it. The attribute must exist in the organization (from CollaboratorDatabase_GetCollaboratorProperties) but need not be on one of the collaborator's types. The value is typed by the attribute's kind: a string for Text and Link (500 characters at most), a TipTap document for RichText, a number for Number and Currency, yyyy-MM-dd for Date, an ISO UTC timestamp for DateTime, true or false for Checkbox, an id string for Select, File, Collaborator and Crew, and an array of ids for the multi kinds (a read returns a File as { id, name } and a MultiFile as a list of them). A wrong shape, an option id the attribute lacks or an archived option the collaborator does not already hold is a 400 naming the attribute. Clearing a required value, answer or last occupant is a 400 whose missingRequired names it; other edits to an incomplete record succeed. Needs Collaborator.Edit at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required | |
| recordId | uuid | Required | |
| propertyId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| value | JsonElement | Optional | |
| expiresOn | JsonElement | Optional | |
| itemExpiries | JsonElement | Optional |