curl --request PATCH \
--url https://app.orgo.space/api/v1/users/{id}/update-roles \
--header 'Api-Token: <api-key>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"firstName": "James",
"lastName": "Patterson",
"newEmailRequested": "michael.chen@example.com",
"status": "ACTIVE",
"dateBirth": "2026-01-15T10:30:00+00:00",
"gender": "M",
"townFrom": "/api/v1/towns/1",
"plainPassword": "Sup3rSecret!2026",
"tenant": "/api/v1/tenants/1",
"timezone": "America/New_York",
"townCurrent": "/api/v1/towns/1",
"mapLatitude": "42.3601",
"mapLongitude": "-71.0589",
"mapPlaceName": "Boston Common",
"mainRole": "/api/v1/user_roles/1",
"phoneNumber": "+1 415 555 0142",
"profileWebsite": "https://civic-collective.example.com",
"profileFacebook": "https://facebook.com/jamespatterson",
"profileTwitter": "https://twitter.com/jpatterson",
"profileBsky": "@jpatterson.bsky.social",
"profileSignal": "+14155550142",
"profileLinkedin": "https://linkedin.com/in/james-patterson",
"profileInstagram": "https://instagram.com/jpatterson",
"profileTelegram": "https://t.me/jpatterson",
"professionIndustry": "/api/v1/profession_types/1",
"professionHeadline": "Lead organizer at Boston Chapter",
"isFollowGeneralUnit": true,
"feeLocalProductPrice": "/api/v1/product_prices/1",
"feeTenantProductPrice": "/api/v1/product_prices/1",
"language": "en",
"bio": "Volunteer organizer in the Boston chapter since 2022.",
"postalCode": "02108",
"address": "123 Beacon Street",
"phoneCountry": "US",
"educationStatus": "BA Political Science, Boston University (2018).",
"professionJob": "/api/v1/profession_jobs/1",
"professionExpertise": "/api/v1/profession_jobs/1",
"professionSector": "Civic Engagement",
"professionExpertiseOther": "Community Organizing",
"privacy": {
"age": true,
"name": true,
"email": true,
"phone": true,
"social": true,
"image": true,
"town": true,
"profession": true,
"profile": true,
"hasSeenProfileCompletionCelebration": true
},
"notificationSettings": [
"string"
],
"isSubscribedNewsletter": true,
"isSubscribedPush": true,
"isSubscribedDiscussion": 42,
"isSubscribedEvent": true,
"isSubscribedComment": true,
"isSubscribedIssue": true,
"isSubscribedVote": true,
"isSubscribedTag": true,
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345",
"mfaEnabled": true,
"profileTiktok": "https://tiktok.com/@civic-collective"
}
'import requests
url = "https://app.orgo.space/api/v1/users/{id}/update-roles"
payload = {
"firstName": "James",
"lastName": "Patterson",
"newEmailRequested": "michael.chen@example.com",
"status": "ACTIVE",
"dateBirth": "2026-01-15T10:30:00+00:00",
"gender": "M",
"townFrom": "/api/v1/towns/1",
"plainPassword": "Sup3rSecret!2026",
"tenant": "/api/v1/tenants/1",
"timezone": "America/New_York",
"townCurrent": "/api/v1/towns/1",
"mapLatitude": "42.3601",
"mapLongitude": "-71.0589",
"mapPlaceName": "Boston Common",
"mainRole": "/api/v1/user_roles/1",
"phoneNumber": "+1 415 555 0142",
"profileWebsite": "https://civic-collective.example.com",
"profileFacebook": "https://facebook.com/jamespatterson",
"profileTwitter": "https://twitter.com/jpatterson",
"profileBsky": "@jpatterson.bsky.social",
"profileSignal": "+14155550142",
"profileLinkedin": "https://linkedin.com/in/james-patterson",
"profileInstagram": "https://instagram.com/jpatterson",
"profileTelegram": "https://t.me/jpatterson",
"professionIndustry": "/api/v1/profession_types/1",
"professionHeadline": "Lead organizer at Boston Chapter",
"isFollowGeneralUnit": True,
"feeLocalProductPrice": "/api/v1/product_prices/1",
"feeTenantProductPrice": "/api/v1/product_prices/1",
"language": "en",
"bio": "Volunteer organizer in the Boston chapter since 2022.",
"postalCode": "02108",
"address": "123 Beacon Street",
"phoneCountry": "US",
"educationStatus": "BA Political Science, Boston University (2018).",
"professionJob": "/api/v1/profession_jobs/1",
"professionExpertise": "/api/v1/profession_jobs/1",
"professionSector": "Civic Engagement",
"professionExpertiseOther": "Community Organizing",
"privacy": {
"age": True,
"name": True,
"email": True,
"phone": True,
"social": True,
"image": True,
"town": True,
"profession": True,
"profile": True,
"hasSeenProfileCompletionCelebration": True
},
"notificationSettings": ["string"],
"isSubscribedNewsletter": True,
"isSubscribedPush": True,
"isSubscribedDiscussion": 42,
"isSubscribedEvent": True,
"isSubscribedComment": True,
"isSubscribedIssue": True,
"isSubscribedVote": True,
"isSubscribedTag": True,
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345",
"mfaEnabled": True,
"profileTiktok": "https://tiktok.com/@civic-collective"
}
headers = {
"Api-Token": "<api-key>",
"Content-Type": "application/merge-patch+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Api-Token': '<api-key>', 'Content-Type': 'application/merge-patch+json'},
body: JSON.stringify({
firstName: 'James',
lastName: 'Patterson',
newEmailRequested: 'michael.chen@example.com',
status: 'ACTIVE',
dateBirth: '2026-01-15T10:30:00+00:00',
gender: 'M',
townFrom: '/api/v1/towns/1',
plainPassword: 'Sup3rSecret!2026',
tenant: '/api/v1/tenants/1',
timezone: 'America/New_York',
townCurrent: '/api/v1/towns/1',
mapLatitude: '42.3601',
mapLongitude: '-71.0589',
mapPlaceName: 'Boston Common',
mainRole: '/api/v1/user_roles/1',
phoneNumber: '+1 415 555 0142',
profileWebsite: 'https://civic-collective.example.com',
profileFacebook: 'https://facebook.com/jamespatterson',
profileTwitter: 'https://twitter.com/jpatterson',
profileBsky: '@jpatterson.bsky.social',
profileSignal: '+14155550142',
profileLinkedin: 'https://linkedin.com/in/james-patterson',
profileInstagram: 'https://instagram.com/jpatterson',
profileTelegram: 'https://t.me/jpatterson',
professionIndustry: '/api/v1/profession_types/1',
professionHeadline: 'Lead organizer at Boston Chapter',
isFollowGeneralUnit: true,
feeLocalProductPrice: '/api/v1/product_prices/1',
feeTenantProductPrice: '/api/v1/product_prices/1',
language: 'en',
bio: 'Volunteer organizer in the Boston chapter since 2022.',
postalCode: '02108',
address: '123 Beacon Street',
phoneCountry: 'US',
educationStatus: 'BA Political Science, Boston University (2018).',
professionJob: '/api/v1/profession_jobs/1',
professionExpertise: '/api/v1/profession_jobs/1',
professionSector: 'Civic Engagement',
professionExpertiseOther: 'Community Organizing',
privacy: {
age: true,
name: true,
email: true,
phone: true,
social: true,
image: true,
town: true,
profession: true,
profile: true,
hasSeenProfileCompletionCelebration: true
},
notificationSettings: ['string'],
isSubscribedNewsletter: true,
isSubscribedPush: true,
isSubscribedDiscussion: 42,
isSubscribedEvent: true,
isSubscribedComment: true,
isSubscribedIssue: true,
isSubscribedVote: true,
isSubscribedTag: true,
professionOrganisation: 'Civic Collective',
professionOrganisationWebsite: 'https://civic-collective.example.com',
professionOrganisationRole: 'Civic Collective',
companyIdentifier: 'US-123456789',
companyName: 'Civic Collective LLC',
companyAddress: '123 Beacon Street, Boston, MA 02108',
companyRegNo: 'DE-HRB-12345',
mfaEnabled: true,
profileTiktok: 'https://tiktok.com/@civic-collective'
})
};
fetch('https://app.orgo.space/api/v1/users/{id}/update-roles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.orgo.space/api/v1/users/{id}/update-roles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'firstName' => 'James',
'lastName' => 'Patterson',
'newEmailRequested' => 'michael.chen@example.com',
'status' => 'ACTIVE',
'dateBirth' => '2026-01-15T10:30:00+00:00',
'gender' => 'M',
'townFrom' => '/api/v1/towns/1',
'plainPassword' => 'Sup3rSecret!2026',
'tenant' => '/api/v1/tenants/1',
'timezone' => 'America/New_York',
'townCurrent' => '/api/v1/towns/1',
'mapLatitude' => '42.3601',
'mapLongitude' => '-71.0589',
'mapPlaceName' => 'Boston Common',
'mainRole' => '/api/v1/user_roles/1',
'phoneNumber' => '+1 415 555 0142',
'profileWebsite' => 'https://civic-collective.example.com',
'profileFacebook' => 'https://facebook.com/jamespatterson',
'profileTwitter' => 'https://twitter.com/jpatterson',
'profileBsky' => '@jpatterson.bsky.social',
'profileSignal' => '+14155550142',
'profileLinkedin' => 'https://linkedin.com/in/james-patterson',
'profileInstagram' => 'https://instagram.com/jpatterson',
'profileTelegram' => 'https://t.me/jpatterson',
'professionIndustry' => '/api/v1/profession_types/1',
'professionHeadline' => 'Lead organizer at Boston Chapter',
'isFollowGeneralUnit' => true,
'feeLocalProductPrice' => '/api/v1/product_prices/1',
'feeTenantProductPrice' => '/api/v1/product_prices/1',
'language' => 'en',
'bio' => 'Volunteer organizer in the Boston chapter since 2022.',
'postalCode' => '02108',
'address' => '123 Beacon Street',
'phoneCountry' => 'US',
'educationStatus' => 'BA Political Science, Boston University (2018).',
'professionJob' => '/api/v1/profession_jobs/1',
'professionExpertise' => '/api/v1/profession_jobs/1',
'professionSector' => 'Civic Engagement',
'professionExpertiseOther' => 'Community Organizing',
'privacy' => [
'age' => true,
'name' => true,
'email' => true,
'phone' => true,
'social' => true,
'image' => true,
'town' => true,
'profession' => true,
'profile' => true,
'hasSeenProfileCompletionCelebration' => true
],
'notificationSettings' => [
'string'
],
'isSubscribedNewsletter' => true,
'isSubscribedPush' => true,
'isSubscribedDiscussion' => 42,
'isSubscribedEvent' => true,
'isSubscribedComment' => true,
'isSubscribedIssue' => true,
'isSubscribedVote' => true,
'isSubscribedTag' => true,
'professionOrganisation' => 'Civic Collective',
'professionOrganisationWebsite' => 'https://civic-collective.example.com',
'professionOrganisationRole' => 'Civic Collective',
'companyIdentifier' => 'US-123456789',
'companyName' => 'Civic Collective LLC',
'companyAddress' => '123 Beacon Street, Boston, MA 02108',
'companyRegNo' => 'DE-HRB-12345',
'mfaEnabled' => true,
'profileTiktok' => 'https://tiktok.com/@civic-collective'
]),
CURLOPT_HTTPHEADER => [
"Api-Token: <api-key>",
"Content-Type: application/merge-patch+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.orgo.space/api/v1/users/{id}/update-roles"
payload := strings.NewReader("{\n \"firstName\": \"James\",\n \"lastName\": \"Patterson\",\n \"newEmailRequested\": \"michael.chen@example.com\",\n \"status\": \"ACTIVE\",\n \"dateBirth\": \"2026-01-15T10:30:00+00:00\",\n \"gender\": \"M\",\n \"townFrom\": \"/api/v1/towns/1\",\n \"plainPassword\": \"Sup3rSecret!2026\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"timezone\": \"America/New_York\",\n \"townCurrent\": \"/api/v1/towns/1\",\n \"mapLatitude\": \"42.3601\",\n \"mapLongitude\": \"-71.0589\",\n \"mapPlaceName\": \"Boston Common\",\n \"mainRole\": \"/api/v1/user_roles/1\",\n \"phoneNumber\": \"+1 415 555 0142\",\n \"profileWebsite\": \"https://civic-collective.example.com\",\n \"profileFacebook\": \"https://facebook.com/jamespatterson\",\n \"profileTwitter\": \"https://twitter.com/jpatterson\",\n \"profileBsky\": \"@jpatterson.bsky.social\",\n \"profileSignal\": \"+14155550142\",\n \"profileLinkedin\": \"https://linkedin.com/in/james-patterson\",\n \"profileInstagram\": \"https://instagram.com/jpatterson\",\n \"profileTelegram\": \"https://t.me/jpatterson\",\n \"professionIndustry\": \"/api/v1/profession_types/1\",\n \"professionHeadline\": \"Lead organizer at Boston Chapter\",\n \"isFollowGeneralUnit\": true,\n \"feeLocalProductPrice\": \"/api/v1/product_prices/1\",\n \"feeTenantProductPrice\": \"/api/v1/product_prices/1\",\n \"language\": \"en\",\n \"bio\": \"Volunteer organizer in the Boston chapter since 2022.\",\n \"postalCode\": \"02108\",\n \"address\": \"123 Beacon Street\",\n \"phoneCountry\": \"US\",\n \"educationStatus\": \"BA Political Science, Boston University (2018).\",\n \"professionJob\": \"/api/v1/profession_jobs/1\",\n \"professionExpertise\": \"/api/v1/profession_jobs/1\",\n \"professionSector\": \"Civic Engagement\",\n \"professionExpertiseOther\": \"Community Organizing\",\n \"privacy\": {\n \"age\": true,\n \"name\": true,\n \"email\": true,\n \"phone\": true,\n \"social\": true,\n \"image\": true,\n \"town\": true,\n \"profession\": true,\n \"profile\": true,\n \"hasSeenProfileCompletionCelebration\": true\n },\n \"notificationSettings\": [\n \"string\"\n ],\n \"isSubscribedNewsletter\": true,\n \"isSubscribedPush\": true,\n \"isSubscribedDiscussion\": 42,\n \"isSubscribedEvent\": true,\n \"isSubscribedComment\": true,\n \"isSubscribedIssue\": true,\n \"isSubscribedVote\": true,\n \"isSubscribedTag\": true,\n \"professionOrganisation\": \"Civic Collective\",\n \"professionOrganisationWebsite\": \"https://civic-collective.example.com\",\n \"professionOrganisationRole\": \"Civic Collective\",\n \"companyIdentifier\": \"US-123456789\",\n \"companyName\": \"Civic Collective LLC\",\n \"companyAddress\": \"123 Beacon Street, Boston, MA 02108\",\n \"companyRegNo\": \"DE-HRB-12345\",\n \"mfaEnabled\": true,\n \"profileTiktok\": \"https://tiktok.com/@civic-collective\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Api-Token", "<api-key>")
req.Header.Add("Content-Type", "application/merge-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.orgo.space/api/v1/users/{id}/update-roles")
.header("Api-Token", "<api-key>")
.header("Content-Type", "application/merge-patch+json")
.body("{\n \"firstName\": \"James\",\n \"lastName\": \"Patterson\",\n \"newEmailRequested\": \"michael.chen@example.com\",\n \"status\": \"ACTIVE\",\n \"dateBirth\": \"2026-01-15T10:30:00+00:00\",\n \"gender\": \"M\",\n \"townFrom\": \"/api/v1/towns/1\",\n \"plainPassword\": \"Sup3rSecret!2026\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"timezone\": \"America/New_York\",\n \"townCurrent\": \"/api/v1/towns/1\",\n \"mapLatitude\": \"42.3601\",\n \"mapLongitude\": \"-71.0589\",\n \"mapPlaceName\": \"Boston Common\",\n \"mainRole\": \"/api/v1/user_roles/1\",\n \"phoneNumber\": \"+1 415 555 0142\",\n \"profileWebsite\": \"https://civic-collective.example.com\",\n \"profileFacebook\": \"https://facebook.com/jamespatterson\",\n \"profileTwitter\": \"https://twitter.com/jpatterson\",\n \"profileBsky\": \"@jpatterson.bsky.social\",\n \"profileSignal\": \"+14155550142\",\n \"profileLinkedin\": \"https://linkedin.com/in/james-patterson\",\n \"profileInstagram\": \"https://instagram.com/jpatterson\",\n \"profileTelegram\": \"https://t.me/jpatterson\",\n \"professionIndustry\": \"/api/v1/profession_types/1\",\n \"professionHeadline\": \"Lead organizer at Boston Chapter\",\n \"isFollowGeneralUnit\": true,\n \"feeLocalProductPrice\": \"/api/v1/product_prices/1\",\n \"feeTenantProductPrice\": \"/api/v1/product_prices/1\",\n \"language\": \"en\",\n \"bio\": \"Volunteer organizer in the Boston chapter since 2022.\",\n \"postalCode\": \"02108\",\n \"address\": \"123 Beacon Street\",\n \"phoneCountry\": \"US\",\n \"educationStatus\": \"BA Political Science, Boston University (2018).\",\n \"professionJob\": \"/api/v1/profession_jobs/1\",\n \"professionExpertise\": \"/api/v1/profession_jobs/1\",\n \"professionSector\": \"Civic Engagement\",\n \"professionExpertiseOther\": \"Community Organizing\",\n \"privacy\": {\n \"age\": true,\n \"name\": true,\n \"email\": true,\n \"phone\": true,\n \"social\": true,\n \"image\": true,\n \"town\": true,\n \"profession\": true,\n \"profile\": true,\n \"hasSeenProfileCompletionCelebration\": true\n },\n \"notificationSettings\": [\n \"string\"\n ],\n \"isSubscribedNewsletter\": true,\n \"isSubscribedPush\": true,\n \"isSubscribedDiscussion\": 42,\n \"isSubscribedEvent\": true,\n \"isSubscribedComment\": true,\n \"isSubscribedIssue\": true,\n \"isSubscribedVote\": true,\n \"isSubscribedTag\": true,\n \"professionOrganisation\": \"Civic Collective\",\n \"professionOrganisationWebsite\": \"https://civic-collective.example.com\",\n \"professionOrganisationRole\": \"Civic Collective\",\n \"companyIdentifier\": \"US-123456789\",\n \"companyName\": \"Civic Collective LLC\",\n \"companyAddress\": \"123 Beacon Street, Boston, MA 02108\",\n \"companyRegNo\": \"DE-HRB-12345\",\n \"mfaEnabled\": true,\n \"profileTiktok\": \"https://tiktok.com/@civic-collective\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/users/{id}/update-roles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Api-Token"] = '<api-key>'
request["Content-Type"] = 'application/merge-patch+json'
request.body = "{\n \"firstName\": \"James\",\n \"lastName\": \"Patterson\",\n \"newEmailRequested\": \"michael.chen@example.com\",\n \"status\": \"ACTIVE\",\n \"dateBirth\": \"2026-01-15T10:30:00+00:00\",\n \"gender\": \"M\",\n \"townFrom\": \"/api/v1/towns/1\",\n \"plainPassword\": \"Sup3rSecret!2026\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"timezone\": \"America/New_York\",\n \"townCurrent\": \"/api/v1/towns/1\",\n \"mapLatitude\": \"42.3601\",\n \"mapLongitude\": \"-71.0589\",\n \"mapPlaceName\": \"Boston Common\",\n \"mainRole\": \"/api/v1/user_roles/1\",\n \"phoneNumber\": \"+1 415 555 0142\",\n \"profileWebsite\": \"https://civic-collective.example.com\",\n \"profileFacebook\": \"https://facebook.com/jamespatterson\",\n \"profileTwitter\": \"https://twitter.com/jpatterson\",\n \"profileBsky\": \"@jpatterson.bsky.social\",\n \"profileSignal\": \"+14155550142\",\n \"profileLinkedin\": \"https://linkedin.com/in/james-patterson\",\n \"profileInstagram\": \"https://instagram.com/jpatterson\",\n \"profileTelegram\": \"https://t.me/jpatterson\",\n \"professionIndustry\": \"/api/v1/profession_types/1\",\n \"professionHeadline\": \"Lead organizer at Boston Chapter\",\n \"isFollowGeneralUnit\": true,\n \"feeLocalProductPrice\": \"/api/v1/product_prices/1\",\n \"feeTenantProductPrice\": \"/api/v1/product_prices/1\",\n \"language\": \"en\",\n \"bio\": \"Volunteer organizer in the Boston chapter since 2022.\",\n \"postalCode\": \"02108\",\n \"address\": \"123 Beacon Street\",\n \"phoneCountry\": \"US\",\n \"educationStatus\": \"BA Political Science, Boston University (2018).\",\n \"professionJob\": \"/api/v1/profession_jobs/1\",\n \"professionExpertise\": \"/api/v1/profession_jobs/1\",\n \"professionSector\": \"Civic Engagement\",\n \"professionExpertiseOther\": \"Community Organizing\",\n \"privacy\": {\n \"age\": true,\n \"name\": true,\n \"email\": true,\n \"phone\": true,\n \"social\": true,\n \"image\": true,\n \"town\": true,\n \"profession\": true,\n \"profile\": true,\n \"hasSeenProfileCompletionCelebration\": true\n },\n \"notificationSettings\": [\n \"string\"\n ],\n \"isSubscribedNewsletter\": true,\n \"isSubscribedPush\": true,\n \"isSubscribedDiscussion\": 42,\n \"isSubscribedEvent\": true,\n \"isSubscribedComment\": true,\n \"isSubscribedIssue\": true,\n \"isSubscribedVote\": true,\n \"isSubscribedTag\": true,\n \"professionOrganisation\": \"Civic Collective\",\n \"professionOrganisationWebsite\": \"https://civic-collective.example.com\",\n \"professionOrganisationRole\": \"Civic Collective\",\n \"companyIdentifier\": \"US-123456789\",\n \"companyName\": \"Civic Collective LLC\",\n \"companyAddress\": \"123 Beacon Street, Boston, MA 02108\",\n \"companyRegNo\": \"DE-HRB-12345\",\n \"mfaEnabled\": true,\n \"profileTiktok\": \"https://tiktok.com/@civic-collective\"\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"firstName": "James",
"lastName": "Patterson",
"email": "james.patterson@example.com",
"newEmailRequested": "michael.chen@example.com",
"status": "ACTIVE",
"dateBirth": "2026-01-15T10:30:00+00:00",
"gender": "M",
"dateUpdated": "2026-01-15T10:30:00+00:00",
"dateCreated": "2026-01-15T10:30:00+00:00",
"localCenter": {
"isActive": true,
"stripeAccount": "acct_1MhsK3LZvKYlo2C0",
"localCenterStripeAccount": "acct_1MhsK3LZvKYlo2C0",
"currency": "USD",
"isStripeEligible": true,
"products": [
{
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"id": 42,
"name": "Boston Chapter",
"nameEn": "Boston Chapter",
"productStripeId": "string",
"isExternal": true,
"productPrices": [
"/api/v1/product_prices/1"
],
"hasCustomPriceValue": true,
"monthPeriod": 1,
"customMinPrice": 5000,
"hasSubscription": true,
"hasOneTimePayment": true,
"cycleDay": 15,
"cycleMonth": 1,
"maxDate": "2026-01-15T10:30:00+00:00",
"description": "Quarterly chapter meeting open to all members.",
"descriptionEn": "Quarterly chapter meeting open to all members.",
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"isFee": true,
"isDonation": true,
"settings": [
"string"
],
"descriptionInternal": "Quarterly chapter meeting open to all members.",
"cycleRecurrences": 42,
"hasConfidentialityEnabled": true,
"customMaxPrice": 5000,
"event": "/api/v1/events/1",
"startingDate": "2026-01-15T10:30:00+00:00",
"productOptions": [
"/api/v1/product_options/1"
],
"type": "MEMBER",
"hasLocalCenterOption": true,
"displayOnProfile": true,
"productPriceVariations": [
"/api/v1/product_price_variations/1"
],
"metaGraphImage": "https://cdn.orgo.space/events/12/cover.jpg",
"heroVideoUrl": "https://civic-collective.example.com",
"thankYouMessage": "Looking forward to seeing you at the meeting.",
"descriptionDe": "Quarterly chapter meeting open to all members."
}
],
"feeProduct": {
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"id": 42,
"name": "Boston Chapter",
"nameEn": "Boston Chapter",
"productStripeId": "string",
"isExternal": true,
"productPrices": [
"/api/v1/product_prices/1"
],
"hasCustomPriceValue": true,
"monthPeriod": 1,
"customMinPrice": 5000,
"hasSubscription": true,
"hasOneTimePayment": true,
"cycleDay": 15,
"cycleMonth": 1,
"maxDate": "2026-01-15T10:30:00+00:00",
"description": "Quarterly chapter meeting open to all members.",
"descriptionEn": "Quarterly chapter meeting open to all members.",
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"isFee": true,
"isDonation": true,
"settings": [
"string"
],
"descriptionInternal": "Quarterly chapter meeting open to all members.",
"cycleRecurrences": 42,
"hasConfidentialityEnabled": true,
"customMaxPrice": 5000,
"event": "/api/v1/events/1",
"startingDate": "2026-01-15T10:30:00+00:00",
"productOptions": [
"/api/v1/product_options/1"
],
"type": "MEMBER",
"hasLocalCenterOption": true,
"displayOnProfile": true,
"productPriceVariations": [
"/api/v1/product_price_variations/1"
],
"metaGraphImage": "https://cdn.orgo.space/events/12/cover.jpg",
"heroVideoUrl": "https://civic-collective.example.com",
"thankYouMessage": "Looking forward to seeing you at the meeting.",
"descriptionDe": "Quarterly chapter meeting open to all members."
},
"feeDefaultProductPrice": {
"id": 42,
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isDefault": true,
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isLifetime": true,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"isOnlinePaymentFeeEligible": true,
"alias": "string",
"isParent": true,
"localCenterCurrency": "USD",
"id": 42,
"name": "Boston Chapter",
"parent": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"isRoleGroup": true,
"emoji": "🎉"
},
"localCenterParent": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"townFrom": {
"id": 42,
"name": "Boston Chapter",
"nameWithCounty": "Boston Chapter",
"latitude": 42.3601,
"longitude": -71.0589,
"country": {
"id": 42,
"name": "Boston Chapter"
}
},
"type": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"unitType": {
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"discriminator": "string",
"isLocal": true,
"parentUnitType": "/api/v1/unit_types/1",
"hasUserType": true
},
"position": 42,
"isUserType": true,
"options": [
"string"
],
"isLocalCenter": true,
"isLocalCenterParent": true,
"isNational": true,
"permissions": [
"string"
],
"chartName": "Boston Chapter",
"isNotEligibleForFee": true,
"isParent": true,
"isVolunteer": true
},
"userRoles": [
{
"id": 42,
"role": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"unitType": "/api/v1/unit_types/1",
"position": 42,
"isUserType": true,
"options": [
"string"
],
"isLocalCenter": true,
"isLocalCenterParent": true,
"isNational": true,
"permissions": [
"string"
],
"chartName": "Boston Chapter",
"isNotEligibleForFee": true,
"isParent": true,
"isVolunteer": true
},
"unit": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"dateCreated": "2026-01-15T10:30:00+00:00",
"dateEnded": "2026-01-15T10:30:00+00:00",
"isAdmin": true,
"localCenterPermission": "string"
}
],
"age": 34,
"fullName": "James Patterson",
"isFeeActive": true,
"isExpiredValidFeeDate": false,
"isActive": true,
"accountType": "string",
"timezone": "America/New_York",
"customFieldValues": [
{
"id": 42,
"field": {
"id": 42,
"name": "Boston Chapter",
"isOnlyAdmin": true,
"visibility": "string",
"fileConfig": [
"string"
],
"exampleMedia": "/api/v1/medias/1"
},
"value": "Vegetarian",
"media": {
"id": 42,
"size": 42,
"entityId": 42,
"contentUrl": "https://civic-collective.example.com",
"mimeType": "application/pdf",
"originalName": "Boston Chapter"
}
}
],
"townCurrent": {
"id": 42,
"name": "Boston Chapter",
"nameWithCounty": "Boston Chapter",
"latitude": 42.3601,
"longitude": -71.0589,
"country": {
"id": 42,
"name": "Boston Chapter"
}
},
"mapLatitude": "42.3601",
"mapLongitude": "-71.0589",
"mapPlaceName": "Boston Common",
"mainRole": {
"id": 42,
"role": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"unitType": "/api/v1/unit_types/1",
"position": 42,
"isUserType": true,
"options": [
"string"
],
"isLocalCenter": true,
"isLocalCenterParent": true,
"isNational": true,
"permissions": [
"string"
],
"chartName": "Boston Chapter",
"isNotEligibleForFee": true,
"isParent": true,
"isVolunteer": true
},
"unit": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"dateCreated": "2026-01-15T10:30:00+00:00",
"dateEnded": "2026-01-15T10:30:00+00:00",
"isAdmin": true,
"localCenterPermission": "string"
},
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"phoneNumber": "+1 415 555 0142",
"profileWebsite": "https://civic-collective.example.com",
"profileFacebook": "https://facebook.com/jamespatterson",
"profileTwitter": "https://twitter.com/jpatterson",
"profileBsky": "@jpatterson.bsky.social",
"profileSignal": "+14155550142",
"profileLinkedin": "https://linkedin.com/in/james-patterson",
"profileInstagram": "https://instagram.com/jpatterson",
"profileTelegram": "https://t.me/jpatterson",
"dateJoined": "2026-01-15T10:30:00+00:00",
"familyNth": true,
"isFullMember": true,
"importInfo": [
"string"
],
"isTrainer": true,
"cardId": "string",
"professionIndustry": {
"id": 42,
"name": "Boston Chapter",
"translation": [
"string"
]
},
"professionHeadline": "Lead organizer at Boston Chapter",
"validFeeDate": "2026-01-15T10:30:00+00:00",
"validLocalFeeDate": "2026-01-15T10:30:00+00:00",
"lastCardPrintedDate": "2026-01-15T10:30:00+00:00",
"feeLocalProductPrice": {
"id": 42,
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isDefault": true,
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isLifetime": true,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"feeTenantProductPrice": {
"id": 42,
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isDefault": true,
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isLifetime": true,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"language": "en",
"isSupporter": true,
"adhesion": {
"id": 42,
"isValidated": true,
"isSuccess": true,
"isRejected": true,
"hasUploadedDocument": true,
"status": "ACTIVE"
},
"bio": "Volunteer organizer in the Boston chapter since 2022.",
"postalCode": "02108",
"address": "123 Beacon Street",
"phoneCountry": "US",
"phoneLocalNumber": "+1 415 555 0142",
"dateJoinedFullMember": "2026-01-15T10:30:00+00:00",
"educationStatus": "BA Political Science, Boston University (2018).",
"educationPhd": {
"id": 42,
"name": "Boston Chapter"
},
"educationMaster": {
"id": 42,
"name": "Boston Chapter"
},
"educationUniversity": {
"id": 42,
"name": "Boston Chapter"
},
"professionJob": {
"id": 42,
"isJob": true,
"isExpertise": true,
"translation": [
"string"
],
"name": "Boston Chapter"
},
"professionExpertise": {
"id": 42,
"isJob": true,
"isExpertise": true,
"translation": [
"string"
],
"name": "Boston Chapter"
},
"professionSector": "Civic Engagement",
"professionExpertiseOther": "Community Organizing",
"isRegisterAsMember": true,
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345",
"isExpiredValidLocalFeeDate": false,
"isLocalFeeActive": true,
"profileTiktok": "https://tiktok.com/@civic-collective"
}Update user roles
Bulk-updates all roles for a user. Accepts rawUserRoles (array of roleId_unitId strings) and optional userType. Compares against existing active roles to determine additions and removals. Requires HR_LOCAL or higher permission; tenant setting allowLocalAdminsToModifyUserPermissions can restrict local admins to unit-level roles only. Creates notifications for role changes and updates role groups and permissions. Also supports multiLocalCenterAccess entries when the tenant feature is enabled.
curl --request PATCH \
--url https://app.orgo.space/api/v1/users/{id}/update-roles \
--header 'Api-Token: <api-key>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"firstName": "James",
"lastName": "Patterson",
"newEmailRequested": "michael.chen@example.com",
"status": "ACTIVE",
"dateBirth": "2026-01-15T10:30:00+00:00",
"gender": "M",
"townFrom": "/api/v1/towns/1",
"plainPassword": "Sup3rSecret!2026",
"tenant": "/api/v1/tenants/1",
"timezone": "America/New_York",
"townCurrent": "/api/v1/towns/1",
"mapLatitude": "42.3601",
"mapLongitude": "-71.0589",
"mapPlaceName": "Boston Common",
"mainRole": "/api/v1/user_roles/1",
"phoneNumber": "+1 415 555 0142",
"profileWebsite": "https://civic-collective.example.com",
"profileFacebook": "https://facebook.com/jamespatterson",
"profileTwitter": "https://twitter.com/jpatterson",
"profileBsky": "@jpatterson.bsky.social",
"profileSignal": "+14155550142",
"profileLinkedin": "https://linkedin.com/in/james-patterson",
"profileInstagram": "https://instagram.com/jpatterson",
"profileTelegram": "https://t.me/jpatterson",
"professionIndustry": "/api/v1/profession_types/1",
"professionHeadline": "Lead organizer at Boston Chapter",
"isFollowGeneralUnit": true,
"feeLocalProductPrice": "/api/v1/product_prices/1",
"feeTenantProductPrice": "/api/v1/product_prices/1",
"language": "en",
"bio": "Volunteer organizer in the Boston chapter since 2022.",
"postalCode": "02108",
"address": "123 Beacon Street",
"phoneCountry": "US",
"educationStatus": "BA Political Science, Boston University (2018).",
"professionJob": "/api/v1/profession_jobs/1",
"professionExpertise": "/api/v1/profession_jobs/1",
"professionSector": "Civic Engagement",
"professionExpertiseOther": "Community Organizing",
"privacy": {
"age": true,
"name": true,
"email": true,
"phone": true,
"social": true,
"image": true,
"town": true,
"profession": true,
"profile": true,
"hasSeenProfileCompletionCelebration": true
},
"notificationSettings": [
"string"
],
"isSubscribedNewsletter": true,
"isSubscribedPush": true,
"isSubscribedDiscussion": 42,
"isSubscribedEvent": true,
"isSubscribedComment": true,
"isSubscribedIssue": true,
"isSubscribedVote": true,
"isSubscribedTag": true,
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345",
"mfaEnabled": true,
"profileTiktok": "https://tiktok.com/@civic-collective"
}
'import requests
url = "https://app.orgo.space/api/v1/users/{id}/update-roles"
payload = {
"firstName": "James",
"lastName": "Patterson",
"newEmailRequested": "michael.chen@example.com",
"status": "ACTIVE",
"dateBirth": "2026-01-15T10:30:00+00:00",
"gender": "M",
"townFrom": "/api/v1/towns/1",
"plainPassword": "Sup3rSecret!2026",
"tenant": "/api/v1/tenants/1",
"timezone": "America/New_York",
"townCurrent": "/api/v1/towns/1",
"mapLatitude": "42.3601",
"mapLongitude": "-71.0589",
"mapPlaceName": "Boston Common",
"mainRole": "/api/v1/user_roles/1",
"phoneNumber": "+1 415 555 0142",
"profileWebsite": "https://civic-collective.example.com",
"profileFacebook": "https://facebook.com/jamespatterson",
"profileTwitter": "https://twitter.com/jpatterson",
"profileBsky": "@jpatterson.bsky.social",
"profileSignal": "+14155550142",
"profileLinkedin": "https://linkedin.com/in/james-patterson",
"profileInstagram": "https://instagram.com/jpatterson",
"profileTelegram": "https://t.me/jpatterson",
"professionIndustry": "/api/v1/profession_types/1",
"professionHeadline": "Lead organizer at Boston Chapter",
"isFollowGeneralUnit": True,
"feeLocalProductPrice": "/api/v1/product_prices/1",
"feeTenantProductPrice": "/api/v1/product_prices/1",
"language": "en",
"bio": "Volunteer organizer in the Boston chapter since 2022.",
"postalCode": "02108",
"address": "123 Beacon Street",
"phoneCountry": "US",
"educationStatus": "BA Political Science, Boston University (2018).",
"professionJob": "/api/v1/profession_jobs/1",
"professionExpertise": "/api/v1/profession_jobs/1",
"professionSector": "Civic Engagement",
"professionExpertiseOther": "Community Organizing",
"privacy": {
"age": True,
"name": True,
"email": True,
"phone": True,
"social": True,
"image": True,
"town": True,
"profession": True,
"profile": True,
"hasSeenProfileCompletionCelebration": True
},
"notificationSettings": ["string"],
"isSubscribedNewsletter": True,
"isSubscribedPush": True,
"isSubscribedDiscussion": 42,
"isSubscribedEvent": True,
"isSubscribedComment": True,
"isSubscribedIssue": True,
"isSubscribedVote": True,
"isSubscribedTag": True,
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345",
"mfaEnabled": True,
"profileTiktok": "https://tiktok.com/@civic-collective"
}
headers = {
"Api-Token": "<api-key>",
"Content-Type": "application/merge-patch+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Api-Token': '<api-key>', 'Content-Type': 'application/merge-patch+json'},
body: JSON.stringify({
firstName: 'James',
lastName: 'Patterson',
newEmailRequested: 'michael.chen@example.com',
status: 'ACTIVE',
dateBirth: '2026-01-15T10:30:00+00:00',
gender: 'M',
townFrom: '/api/v1/towns/1',
plainPassword: 'Sup3rSecret!2026',
tenant: '/api/v1/tenants/1',
timezone: 'America/New_York',
townCurrent: '/api/v1/towns/1',
mapLatitude: '42.3601',
mapLongitude: '-71.0589',
mapPlaceName: 'Boston Common',
mainRole: '/api/v1/user_roles/1',
phoneNumber: '+1 415 555 0142',
profileWebsite: 'https://civic-collective.example.com',
profileFacebook: 'https://facebook.com/jamespatterson',
profileTwitter: 'https://twitter.com/jpatterson',
profileBsky: '@jpatterson.bsky.social',
profileSignal: '+14155550142',
profileLinkedin: 'https://linkedin.com/in/james-patterson',
profileInstagram: 'https://instagram.com/jpatterson',
profileTelegram: 'https://t.me/jpatterson',
professionIndustry: '/api/v1/profession_types/1',
professionHeadline: 'Lead organizer at Boston Chapter',
isFollowGeneralUnit: true,
feeLocalProductPrice: '/api/v1/product_prices/1',
feeTenantProductPrice: '/api/v1/product_prices/1',
language: 'en',
bio: 'Volunteer organizer in the Boston chapter since 2022.',
postalCode: '02108',
address: '123 Beacon Street',
phoneCountry: 'US',
educationStatus: 'BA Political Science, Boston University (2018).',
professionJob: '/api/v1/profession_jobs/1',
professionExpertise: '/api/v1/profession_jobs/1',
professionSector: 'Civic Engagement',
professionExpertiseOther: 'Community Organizing',
privacy: {
age: true,
name: true,
email: true,
phone: true,
social: true,
image: true,
town: true,
profession: true,
profile: true,
hasSeenProfileCompletionCelebration: true
},
notificationSettings: ['string'],
isSubscribedNewsletter: true,
isSubscribedPush: true,
isSubscribedDiscussion: 42,
isSubscribedEvent: true,
isSubscribedComment: true,
isSubscribedIssue: true,
isSubscribedVote: true,
isSubscribedTag: true,
professionOrganisation: 'Civic Collective',
professionOrganisationWebsite: 'https://civic-collective.example.com',
professionOrganisationRole: 'Civic Collective',
companyIdentifier: 'US-123456789',
companyName: 'Civic Collective LLC',
companyAddress: '123 Beacon Street, Boston, MA 02108',
companyRegNo: 'DE-HRB-12345',
mfaEnabled: true,
profileTiktok: 'https://tiktok.com/@civic-collective'
})
};
fetch('https://app.orgo.space/api/v1/users/{id}/update-roles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.orgo.space/api/v1/users/{id}/update-roles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'firstName' => 'James',
'lastName' => 'Patterson',
'newEmailRequested' => 'michael.chen@example.com',
'status' => 'ACTIVE',
'dateBirth' => '2026-01-15T10:30:00+00:00',
'gender' => 'M',
'townFrom' => '/api/v1/towns/1',
'plainPassword' => 'Sup3rSecret!2026',
'tenant' => '/api/v1/tenants/1',
'timezone' => 'America/New_York',
'townCurrent' => '/api/v1/towns/1',
'mapLatitude' => '42.3601',
'mapLongitude' => '-71.0589',
'mapPlaceName' => 'Boston Common',
'mainRole' => '/api/v1/user_roles/1',
'phoneNumber' => '+1 415 555 0142',
'profileWebsite' => 'https://civic-collective.example.com',
'profileFacebook' => 'https://facebook.com/jamespatterson',
'profileTwitter' => 'https://twitter.com/jpatterson',
'profileBsky' => '@jpatterson.bsky.social',
'profileSignal' => '+14155550142',
'profileLinkedin' => 'https://linkedin.com/in/james-patterson',
'profileInstagram' => 'https://instagram.com/jpatterson',
'profileTelegram' => 'https://t.me/jpatterson',
'professionIndustry' => '/api/v1/profession_types/1',
'professionHeadline' => 'Lead organizer at Boston Chapter',
'isFollowGeneralUnit' => true,
'feeLocalProductPrice' => '/api/v1/product_prices/1',
'feeTenantProductPrice' => '/api/v1/product_prices/1',
'language' => 'en',
'bio' => 'Volunteer organizer in the Boston chapter since 2022.',
'postalCode' => '02108',
'address' => '123 Beacon Street',
'phoneCountry' => 'US',
'educationStatus' => 'BA Political Science, Boston University (2018).',
'professionJob' => '/api/v1/profession_jobs/1',
'professionExpertise' => '/api/v1/profession_jobs/1',
'professionSector' => 'Civic Engagement',
'professionExpertiseOther' => 'Community Organizing',
'privacy' => [
'age' => true,
'name' => true,
'email' => true,
'phone' => true,
'social' => true,
'image' => true,
'town' => true,
'profession' => true,
'profile' => true,
'hasSeenProfileCompletionCelebration' => true
],
'notificationSettings' => [
'string'
],
'isSubscribedNewsletter' => true,
'isSubscribedPush' => true,
'isSubscribedDiscussion' => 42,
'isSubscribedEvent' => true,
'isSubscribedComment' => true,
'isSubscribedIssue' => true,
'isSubscribedVote' => true,
'isSubscribedTag' => true,
'professionOrganisation' => 'Civic Collective',
'professionOrganisationWebsite' => 'https://civic-collective.example.com',
'professionOrganisationRole' => 'Civic Collective',
'companyIdentifier' => 'US-123456789',
'companyName' => 'Civic Collective LLC',
'companyAddress' => '123 Beacon Street, Boston, MA 02108',
'companyRegNo' => 'DE-HRB-12345',
'mfaEnabled' => true,
'profileTiktok' => 'https://tiktok.com/@civic-collective'
]),
CURLOPT_HTTPHEADER => [
"Api-Token: <api-key>",
"Content-Type: application/merge-patch+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.orgo.space/api/v1/users/{id}/update-roles"
payload := strings.NewReader("{\n \"firstName\": \"James\",\n \"lastName\": \"Patterson\",\n \"newEmailRequested\": \"michael.chen@example.com\",\n \"status\": \"ACTIVE\",\n \"dateBirth\": \"2026-01-15T10:30:00+00:00\",\n \"gender\": \"M\",\n \"townFrom\": \"/api/v1/towns/1\",\n \"plainPassword\": \"Sup3rSecret!2026\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"timezone\": \"America/New_York\",\n \"townCurrent\": \"/api/v1/towns/1\",\n \"mapLatitude\": \"42.3601\",\n \"mapLongitude\": \"-71.0589\",\n \"mapPlaceName\": \"Boston Common\",\n \"mainRole\": \"/api/v1/user_roles/1\",\n \"phoneNumber\": \"+1 415 555 0142\",\n \"profileWebsite\": \"https://civic-collective.example.com\",\n \"profileFacebook\": \"https://facebook.com/jamespatterson\",\n \"profileTwitter\": \"https://twitter.com/jpatterson\",\n \"profileBsky\": \"@jpatterson.bsky.social\",\n \"profileSignal\": \"+14155550142\",\n \"profileLinkedin\": \"https://linkedin.com/in/james-patterson\",\n \"profileInstagram\": \"https://instagram.com/jpatterson\",\n \"profileTelegram\": \"https://t.me/jpatterson\",\n \"professionIndustry\": \"/api/v1/profession_types/1\",\n \"professionHeadline\": \"Lead organizer at Boston Chapter\",\n \"isFollowGeneralUnit\": true,\n \"feeLocalProductPrice\": \"/api/v1/product_prices/1\",\n \"feeTenantProductPrice\": \"/api/v1/product_prices/1\",\n \"language\": \"en\",\n \"bio\": \"Volunteer organizer in the Boston chapter since 2022.\",\n \"postalCode\": \"02108\",\n \"address\": \"123 Beacon Street\",\n \"phoneCountry\": \"US\",\n \"educationStatus\": \"BA Political Science, Boston University (2018).\",\n \"professionJob\": \"/api/v1/profession_jobs/1\",\n \"professionExpertise\": \"/api/v1/profession_jobs/1\",\n \"professionSector\": \"Civic Engagement\",\n \"professionExpertiseOther\": \"Community Organizing\",\n \"privacy\": {\n \"age\": true,\n \"name\": true,\n \"email\": true,\n \"phone\": true,\n \"social\": true,\n \"image\": true,\n \"town\": true,\n \"profession\": true,\n \"profile\": true,\n \"hasSeenProfileCompletionCelebration\": true\n },\n \"notificationSettings\": [\n \"string\"\n ],\n \"isSubscribedNewsletter\": true,\n \"isSubscribedPush\": true,\n \"isSubscribedDiscussion\": 42,\n \"isSubscribedEvent\": true,\n \"isSubscribedComment\": true,\n \"isSubscribedIssue\": true,\n \"isSubscribedVote\": true,\n \"isSubscribedTag\": true,\n \"professionOrganisation\": \"Civic Collective\",\n \"professionOrganisationWebsite\": \"https://civic-collective.example.com\",\n \"professionOrganisationRole\": \"Civic Collective\",\n \"companyIdentifier\": \"US-123456789\",\n \"companyName\": \"Civic Collective LLC\",\n \"companyAddress\": \"123 Beacon Street, Boston, MA 02108\",\n \"companyRegNo\": \"DE-HRB-12345\",\n \"mfaEnabled\": true,\n \"profileTiktok\": \"https://tiktok.com/@civic-collective\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Api-Token", "<api-key>")
req.Header.Add("Content-Type", "application/merge-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.orgo.space/api/v1/users/{id}/update-roles")
.header("Api-Token", "<api-key>")
.header("Content-Type", "application/merge-patch+json")
.body("{\n \"firstName\": \"James\",\n \"lastName\": \"Patterson\",\n \"newEmailRequested\": \"michael.chen@example.com\",\n \"status\": \"ACTIVE\",\n \"dateBirth\": \"2026-01-15T10:30:00+00:00\",\n \"gender\": \"M\",\n \"townFrom\": \"/api/v1/towns/1\",\n \"plainPassword\": \"Sup3rSecret!2026\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"timezone\": \"America/New_York\",\n \"townCurrent\": \"/api/v1/towns/1\",\n \"mapLatitude\": \"42.3601\",\n \"mapLongitude\": \"-71.0589\",\n \"mapPlaceName\": \"Boston Common\",\n \"mainRole\": \"/api/v1/user_roles/1\",\n \"phoneNumber\": \"+1 415 555 0142\",\n \"profileWebsite\": \"https://civic-collective.example.com\",\n \"profileFacebook\": \"https://facebook.com/jamespatterson\",\n \"profileTwitter\": \"https://twitter.com/jpatterson\",\n \"profileBsky\": \"@jpatterson.bsky.social\",\n \"profileSignal\": \"+14155550142\",\n \"profileLinkedin\": \"https://linkedin.com/in/james-patterson\",\n \"profileInstagram\": \"https://instagram.com/jpatterson\",\n \"profileTelegram\": \"https://t.me/jpatterson\",\n \"professionIndustry\": \"/api/v1/profession_types/1\",\n \"professionHeadline\": \"Lead organizer at Boston Chapter\",\n \"isFollowGeneralUnit\": true,\n \"feeLocalProductPrice\": \"/api/v1/product_prices/1\",\n \"feeTenantProductPrice\": \"/api/v1/product_prices/1\",\n \"language\": \"en\",\n \"bio\": \"Volunteer organizer in the Boston chapter since 2022.\",\n \"postalCode\": \"02108\",\n \"address\": \"123 Beacon Street\",\n \"phoneCountry\": \"US\",\n \"educationStatus\": \"BA Political Science, Boston University (2018).\",\n \"professionJob\": \"/api/v1/profession_jobs/1\",\n \"professionExpertise\": \"/api/v1/profession_jobs/1\",\n \"professionSector\": \"Civic Engagement\",\n \"professionExpertiseOther\": \"Community Organizing\",\n \"privacy\": {\n \"age\": true,\n \"name\": true,\n \"email\": true,\n \"phone\": true,\n \"social\": true,\n \"image\": true,\n \"town\": true,\n \"profession\": true,\n \"profile\": true,\n \"hasSeenProfileCompletionCelebration\": true\n },\n \"notificationSettings\": [\n \"string\"\n ],\n \"isSubscribedNewsletter\": true,\n \"isSubscribedPush\": true,\n \"isSubscribedDiscussion\": 42,\n \"isSubscribedEvent\": true,\n \"isSubscribedComment\": true,\n \"isSubscribedIssue\": true,\n \"isSubscribedVote\": true,\n \"isSubscribedTag\": true,\n \"professionOrganisation\": \"Civic Collective\",\n \"professionOrganisationWebsite\": \"https://civic-collective.example.com\",\n \"professionOrganisationRole\": \"Civic Collective\",\n \"companyIdentifier\": \"US-123456789\",\n \"companyName\": \"Civic Collective LLC\",\n \"companyAddress\": \"123 Beacon Street, Boston, MA 02108\",\n \"companyRegNo\": \"DE-HRB-12345\",\n \"mfaEnabled\": true,\n \"profileTiktok\": \"https://tiktok.com/@civic-collective\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/users/{id}/update-roles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Api-Token"] = '<api-key>'
request["Content-Type"] = 'application/merge-patch+json'
request.body = "{\n \"firstName\": \"James\",\n \"lastName\": \"Patterson\",\n \"newEmailRequested\": \"michael.chen@example.com\",\n \"status\": \"ACTIVE\",\n \"dateBirth\": \"2026-01-15T10:30:00+00:00\",\n \"gender\": \"M\",\n \"townFrom\": \"/api/v1/towns/1\",\n \"plainPassword\": \"Sup3rSecret!2026\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"timezone\": \"America/New_York\",\n \"townCurrent\": \"/api/v1/towns/1\",\n \"mapLatitude\": \"42.3601\",\n \"mapLongitude\": \"-71.0589\",\n \"mapPlaceName\": \"Boston Common\",\n \"mainRole\": \"/api/v1/user_roles/1\",\n \"phoneNumber\": \"+1 415 555 0142\",\n \"profileWebsite\": \"https://civic-collective.example.com\",\n \"profileFacebook\": \"https://facebook.com/jamespatterson\",\n \"profileTwitter\": \"https://twitter.com/jpatterson\",\n \"profileBsky\": \"@jpatterson.bsky.social\",\n \"profileSignal\": \"+14155550142\",\n \"profileLinkedin\": \"https://linkedin.com/in/james-patterson\",\n \"profileInstagram\": \"https://instagram.com/jpatterson\",\n \"profileTelegram\": \"https://t.me/jpatterson\",\n \"professionIndustry\": \"/api/v1/profession_types/1\",\n \"professionHeadline\": \"Lead organizer at Boston Chapter\",\n \"isFollowGeneralUnit\": true,\n \"feeLocalProductPrice\": \"/api/v1/product_prices/1\",\n \"feeTenantProductPrice\": \"/api/v1/product_prices/1\",\n \"language\": \"en\",\n \"bio\": \"Volunteer organizer in the Boston chapter since 2022.\",\n \"postalCode\": \"02108\",\n \"address\": \"123 Beacon Street\",\n \"phoneCountry\": \"US\",\n \"educationStatus\": \"BA Political Science, Boston University (2018).\",\n \"professionJob\": \"/api/v1/profession_jobs/1\",\n \"professionExpertise\": \"/api/v1/profession_jobs/1\",\n \"professionSector\": \"Civic Engagement\",\n \"professionExpertiseOther\": \"Community Organizing\",\n \"privacy\": {\n \"age\": true,\n \"name\": true,\n \"email\": true,\n \"phone\": true,\n \"social\": true,\n \"image\": true,\n \"town\": true,\n \"profession\": true,\n \"profile\": true,\n \"hasSeenProfileCompletionCelebration\": true\n },\n \"notificationSettings\": [\n \"string\"\n ],\n \"isSubscribedNewsletter\": true,\n \"isSubscribedPush\": true,\n \"isSubscribedDiscussion\": 42,\n \"isSubscribedEvent\": true,\n \"isSubscribedComment\": true,\n \"isSubscribedIssue\": true,\n \"isSubscribedVote\": true,\n \"isSubscribedTag\": true,\n \"professionOrganisation\": \"Civic Collective\",\n \"professionOrganisationWebsite\": \"https://civic-collective.example.com\",\n \"professionOrganisationRole\": \"Civic Collective\",\n \"companyIdentifier\": \"US-123456789\",\n \"companyName\": \"Civic Collective LLC\",\n \"companyAddress\": \"123 Beacon Street, Boston, MA 02108\",\n \"companyRegNo\": \"DE-HRB-12345\",\n \"mfaEnabled\": true,\n \"profileTiktok\": \"https://tiktok.com/@civic-collective\"\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"firstName": "James",
"lastName": "Patterson",
"email": "james.patterson@example.com",
"newEmailRequested": "michael.chen@example.com",
"status": "ACTIVE",
"dateBirth": "2026-01-15T10:30:00+00:00",
"gender": "M",
"dateUpdated": "2026-01-15T10:30:00+00:00",
"dateCreated": "2026-01-15T10:30:00+00:00",
"localCenter": {
"isActive": true,
"stripeAccount": "acct_1MhsK3LZvKYlo2C0",
"localCenterStripeAccount": "acct_1MhsK3LZvKYlo2C0",
"currency": "USD",
"isStripeEligible": true,
"products": [
{
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"id": 42,
"name": "Boston Chapter",
"nameEn": "Boston Chapter",
"productStripeId": "string",
"isExternal": true,
"productPrices": [
"/api/v1/product_prices/1"
],
"hasCustomPriceValue": true,
"monthPeriod": 1,
"customMinPrice": 5000,
"hasSubscription": true,
"hasOneTimePayment": true,
"cycleDay": 15,
"cycleMonth": 1,
"maxDate": "2026-01-15T10:30:00+00:00",
"description": "Quarterly chapter meeting open to all members.",
"descriptionEn": "Quarterly chapter meeting open to all members.",
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"isFee": true,
"isDonation": true,
"settings": [
"string"
],
"descriptionInternal": "Quarterly chapter meeting open to all members.",
"cycleRecurrences": 42,
"hasConfidentialityEnabled": true,
"customMaxPrice": 5000,
"event": "/api/v1/events/1",
"startingDate": "2026-01-15T10:30:00+00:00",
"productOptions": [
"/api/v1/product_options/1"
],
"type": "MEMBER",
"hasLocalCenterOption": true,
"displayOnProfile": true,
"productPriceVariations": [
"/api/v1/product_price_variations/1"
],
"metaGraphImage": "https://cdn.orgo.space/events/12/cover.jpg",
"heroVideoUrl": "https://civic-collective.example.com",
"thankYouMessage": "Looking forward to seeing you at the meeting.",
"descriptionDe": "Quarterly chapter meeting open to all members."
}
],
"feeProduct": {
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"id": 42,
"name": "Boston Chapter",
"nameEn": "Boston Chapter",
"productStripeId": "string",
"isExternal": true,
"productPrices": [
"/api/v1/product_prices/1"
],
"hasCustomPriceValue": true,
"monthPeriod": 1,
"customMinPrice": 5000,
"hasSubscription": true,
"hasOneTimePayment": true,
"cycleDay": 15,
"cycleMonth": 1,
"maxDate": "2026-01-15T10:30:00+00:00",
"description": "Quarterly chapter meeting open to all members.",
"descriptionEn": "Quarterly chapter meeting open to all members.",
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"isFee": true,
"isDonation": true,
"settings": [
"string"
],
"descriptionInternal": "Quarterly chapter meeting open to all members.",
"cycleRecurrences": 42,
"hasConfidentialityEnabled": true,
"customMaxPrice": 5000,
"event": "/api/v1/events/1",
"startingDate": "2026-01-15T10:30:00+00:00",
"productOptions": [
"/api/v1/product_options/1"
],
"type": "MEMBER",
"hasLocalCenterOption": true,
"displayOnProfile": true,
"productPriceVariations": [
"/api/v1/product_price_variations/1"
],
"metaGraphImage": "https://cdn.orgo.space/events/12/cover.jpg",
"heroVideoUrl": "https://civic-collective.example.com",
"thankYouMessage": "Looking forward to seeing you at the meeting.",
"descriptionDe": "Quarterly chapter meeting open to all members."
},
"feeDefaultProductPrice": {
"id": 42,
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isDefault": true,
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isLifetime": true,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"isOnlinePaymentFeeEligible": true,
"alias": "string",
"isParent": true,
"localCenterCurrency": "USD",
"id": 42,
"name": "Boston Chapter",
"parent": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"isRoleGroup": true,
"emoji": "🎉"
},
"localCenterParent": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"townFrom": {
"id": 42,
"name": "Boston Chapter",
"nameWithCounty": "Boston Chapter",
"latitude": 42.3601,
"longitude": -71.0589,
"country": {
"id": 42,
"name": "Boston Chapter"
}
},
"type": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"unitType": {
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"discriminator": "string",
"isLocal": true,
"parentUnitType": "/api/v1/unit_types/1",
"hasUserType": true
},
"position": 42,
"isUserType": true,
"options": [
"string"
],
"isLocalCenter": true,
"isLocalCenterParent": true,
"isNational": true,
"permissions": [
"string"
],
"chartName": "Boston Chapter",
"isNotEligibleForFee": true,
"isParent": true,
"isVolunteer": true
},
"userRoles": [
{
"id": 42,
"role": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"unitType": "/api/v1/unit_types/1",
"position": 42,
"isUserType": true,
"options": [
"string"
],
"isLocalCenter": true,
"isLocalCenterParent": true,
"isNational": true,
"permissions": [
"string"
],
"chartName": "Boston Chapter",
"isNotEligibleForFee": true,
"isParent": true,
"isVolunteer": true
},
"unit": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"dateCreated": "2026-01-15T10:30:00+00:00",
"dateEnded": "2026-01-15T10:30:00+00:00",
"isAdmin": true,
"localCenterPermission": "string"
}
],
"age": 34,
"fullName": "James Patterson",
"isFeeActive": true,
"isExpiredValidFeeDate": false,
"isActive": true,
"accountType": "string",
"timezone": "America/New_York",
"customFieldValues": [
{
"id": 42,
"field": {
"id": 42,
"name": "Boston Chapter",
"isOnlyAdmin": true,
"visibility": "string",
"fileConfig": [
"string"
],
"exampleMedia": "/api/v1/medias/1"
},
"value": "Vegetarian",
"media": {
"id": 42,
"size": 42,
"entityId": 42,
"contentUrl": "https://civic-collective.example.com",
"mimeType": "application/pdf",
"originalName": "Boston Chapter"
}
}
],
"townCurrent": {
"id": 42,
"name": "Boston Chapter",
"nameWithCounty": "Boston Chapter",
"latitude": 42.3601,
"longitude": -71.0589,
"country": {
"id": 42,
"name": "Boston Chapter"
}
},
"mapLatitude": "42.3601",
"mapLongitude": "-71.0589",
"mapPlaceName": "Boston Common",
"mainRole": {
"id": 42,
"role": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"unitType": "/api/v1/unit_types/1",
"position": 42,
"isUserType": true,
"options": [
"string"
],
"isLocalCenter": true,
"isLocalCenterParent": true,
"isNational": true,
"permissions": [
"string"
],
"chartName": "Boston Chapter",
"isNotEligibleForFee": true,
"isParent": true,
"isVolunteer": true
},
"unit": {
"id": 42,
"name": "Boston Chapter",
"isRoleGroup": true,
"emoji": "🎉"
},
"dateCreated": "2026-01-15T10:30:00+00:00",
"dateEnded": "2026-01-15T10:30:00+00:00",
"isAdmin": true,
"localCenterPermission": "string"
},
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"phoneNumber": "+1 415 555 0142",
"profileWebsite": "https://civic-collective.example.com",
"profileFacebook": "https://facebook.com/jamespatterson",
"profileTwitter": "https://twitter.com/jpatterson",
"profileBsky": "@jpatterson.bsky.social",
"profileSignal": "+14155550142",
"profileLinkedin": "https://linkedin.com/in/james-patterson",
"profileInstagram": "https://instagram.com/jpatterson",
"profileTelegram": "https://t.me/jpatterson",
"dateJoined": "2026-01-15T10:30:00+00:00",
"familyNth": true,
"isFullMember": true,
"importInfo": [
"string"
],
"isTrainer": true,
"cardId": "string",
"professionIndustry": {
"id": 42,
"name": "Boston Chapter",
"translation": [
"string"
]
},
"professionHeadline": "Lead organizer at Boston Chapter",
"validFeeDate": "2026-01-15T10:30:00+00:00",
"validLocalFeeDate": "2026-01-15T10:30:00+00:00",
"lastCardPrintedDate": "2026-01-15T10:30:00+00:00",
"feeLocalProductPrice": {
"id": 42,
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isDefault": true,
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isLifetime": true,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"feeTenantProductPrice": {
"id": 42,
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isDefault": true,
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isLifetime": true,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"language": "en",
"isSupporter": true,
"adhesion": {
"id": 42,
"isValidated": true,
"isSuccess": true,
"isRejected": true,
"hasUploadedDocument": true,
"status": "ACTIVE"
},
"bio": "Volunteer organizer in the Boston chapter since 2022.",
"postalCode": "02108",
"address": "123 Beacon Street",
"phoneCountry": "US",
"phoneLocalNumber": "+1 415 555 0142",
"dateJoinedFullMember": "2026-01-15T10:30:00+00:00",
"educationStatus": "BA Political Science, Boston University (2018).",
"educationPhd": {
"id": 42,
"name": "Boston Chapter"
},
"educationMaster": {
"id": 42,
"name": "Boston Chapter"
},
"educationUniversity": {
"id": 42,
"name": "Boston Chapter"
},
"professionJob": {
"id": 42,
"isJob": true,
"isExpertise": true,
"translation": [
"string"
],
"name": "Boston Chapter"
},
"professionExpertise": {
"id": 42,
"isJob": true,
"isExpertise": true,
"translation": [
"string"
],
"name": "Boston Chapter"
},
"professionSector": "Civic Engagement",
"professionExpertiseOther": "Community Organizing",
"isRegisterAsMember": true,
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345",
"isExpiredValidLocalFeeDate": false,
"isLocalFeeActive": true,
"profileTiktok": "https://tiktok.com/@civic-collective"
}Authorizations
Server-to-server authentication. Generate a token in the admin UI at
Settings → Developers → API Access. Send the raw token in the
Api-Token header — there is no Bearer prefix.
Tokens can be marked read-only at creation time, in which case the API
rejects any non-GET request with 403 Forbidden.
Path Parameters
User identifier
Body
The updated User resource
255255"/api/v1/towns/1"
"/api/v1/tenants/1"
"/api/v1/towns/1"
"/api/v1/user_roles/1"
"/api/v1/profession_types/1"
"/api/v1/product_prices/1"
"/api/v1/product_prices/1"
"/api/v1/profession_jobs/1"
"/api/v1/profession_jobs/1"
Show child attributes
Show child attributes
Response
User resource updated
255255Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes

