Docs

Set Crew Attribute Value

PUT /crew/{crewId}/attributes/{attributeId}

PUT/crew/{crewId}/attributes/{attributeId}

Organization crew (an organization token and an organization crew id): Sets one attribute value on a crew member, creating or replacing it, with the same typed value and 400 rules; null clears it. attributeId comes from Crew_GetCrewRecord or OrgCrew_GetCrewAttributes. Needs Crew.Edit at the organization. Clearing a required value, answer or last occupant is a 400 whose missingRequired names it as { kind, id, name, level }; other edits to an incomplete record succeed.

Path Parameters

FieldTypeRequiredDescription
crewIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
valueJsonElementOptional
expiresOnJsonElementOptional
itemExpiriesJsonElementOptional