Update the person with the indicated :id in the URL. Requires write permissions.
cURL
curl --request PATCH \ --url https://membership.sjaa.net/api/people/:id \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "person[first_name]": "<string>", "person[last_name]": "<string>", "person[discord_id]": "<string>" } '
{ "id": "<array>", "contacts": "<array>", "memberships": "<array>", "first_name": "<string>", "last_name": "<string>", "discord_id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Update first name.
Update last name.
Update Discord user ID.
The updated Person record.
Internal database identifier. Use where :id is required.
List of contacts, including address, phone, and email.
List of memberships, which include start and end dates.
first name.
last name.
Discord user ID.