PATCH
/
people
/
:id
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": [
    "<any>"
  ],
  "contacts": [
    "<any>"
  ],
  "memberships": [
    "<any>"
  ],
  "first_name": "<string>",
  "last_name": "<string>",
  "discord_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The updated Person record.

The response is of type object.