Update a Preference for a Participant
put
/public/v1/preferences/{preference}Fields left out of the request keep their current values. Send details as null to clear it.
preferencestringrequiredThe preference UUID
Body
application/jsonlevelenum<string>Available options:preferredrequiredtypeenum<string>Available options:ethnicitygendermaximum_ageminimum_agevaluestringmax length 255detailsstring | nullrequiredmax length 5000
Response
200application/jsonParticipantPreferenceResource
dataobjectrequired▶Show 7 child attributesHide child attributes
idstringrequiredExample:p1r2e3f4-a5b6-47c8-9d0e-1f2a3b4c5d6elevelstringrequiredExample:requiredtypestringrequiredExample:gendervaluestringrequiredExample:femaledetailsstring | nullrequiredExample:Prefers a female support worker for personal carecreated_atstringrequiredExample:2024-01-15T10:30:00+00:00updated_atstringrequiredExample:2024-01-15T10:30:00+00:00
401Unauthenticated403Authorization error404Not found422Validation error