Update a member's role and partner assignments
const url = 'https://example.com/api/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"fullName":"Jane Doe","role":"org_admin","partnerId":"20000000-0000-0000-0000-000000000002","phone":"+17045550199","profiles":["intake_staff","kiosk_operator"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "fullName": "Jane Doe", "role": "org_admin", "partnerId": "20000000-0000-0000-0000-000000000002", "phone": "+17045550199", "profiles": [ "intake_staff", "kiosk_operator" ] }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
User’s display or full name.
Example
Jane DoeAssigned administrative user role (org_admin, partner_admin, staff).
Unique identifier (UUID v4) for the assigned partner location facility.
Example
20000000-0000-0000-0000-000000000002E.164 formatted contact phone number.
Example
+17045550199Assigned functional operational access profiles.
Example
[ "intake_staff", "kiosk_operator"]Responses
Section titled “Responses”Member updated successfully
object
Unique identifier (UUID v4) for the resource.
Primary email address.
Full legal or preferred name of the individual.
Assigned administrative user role (org_admin, partner_admin, staff).
Unique identifier (UUID v4) for the assigned partner location facility.
Display name of the assigned partner location facility.
Assigned functional operational access profiles.
Flag confirming whether user email address has been verified.
E.164 formatted contact phone number.
Flag indicating whether user is currently opted out of SMS notifications.
Example
{ "id": "a1b2c3d4-e5f6-7890-abcd-1234567890ab", "fullName": "Sarah Jenkins", "role": "org_admin", "partnerId": "20000000-0000-0000-0000-000000000002", "partnerName": "Community Food Pantry", "profiles": [ "intake_staff", "kiosk_operator" ], "isConfirmed": true, "phone": "+17045550199", "smsOptedOut": false}Unauthorized
Forbidden