Add Person
documentedCreate a new person in the organization.
POST /api/organizations/{org_id}/people/Peopleno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://watershedlrs.com/api/organizations/{{$org_id}}/people/" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "personas": [ {"name": "{{$persona1_name}}", "mbox": "mailto:{{$persona1_email}}"} , {"name": "{{$persona2_name}}", "account": {"homePage": "{{$persona2_homepage}}", "name": "{{$persona2_account_name}}"}} ], "parentGroupIds": {{$parentGroupIds}}, "parentGroupCustomIds": {{$parentGroupCustomIds}} }'"