Skip to main content
PATCH
Update a member

Authorizations

Authorization
string
header
required

A group API key, sent as Authorization: Bearer sw_live_…. Keys from staging and the demo start sw_test_ instead. A group admin creates keys in Settings → Integrations → API keys.

Scopes

members:write

Headers

If-Match
string

The ETag you last read for this record. If the record has changed since, the change is refused with 412 stale_write, which carries its current ETag. Optional, and recommended: without it the last write wins.

Path Parameters

memberId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json

Send only the fields to change. Leaving a group is not a field: archive a member in Scoutworks. A field not listed here is refused with a 400.

firstName
string
Required string length: 1 - 100
lastName
string
Required string length: 1 - 100
preferredName
string | null

The name they go by. Null or empty clears it.

Maximum string length: 50
sectionIds
string<uuid>[]

Sections from GET /sections, the main one first. Replaces the member’s sections in your group.

Required array length: 1 - 5 elements
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
patrolId
string<uuid> | null

A patrol, six or lodge in the member’s main section, by id. Null for none. Patrols are set up in Scoutworks.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
dateOfBirth
string<date> | null

A date, YYYY-MM-DD.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
gender
enum<string> | null
Available options:
male,
female,
other,
prefer_not_to_say
address
object | null

The member’s home address. Each line you send replaces the stored one; null clears it.

parents
object[]

Parents and carers to ADD. Someone already linked is left as they are; nobody is removed. Remove a parent in Scoutworks.

Required array length: 1 - 4 elements
notify
boolean
default:false

Send true to email the family as the app would. By default a write through the API tells nobody.

{key}
any

Response

OK

data
object
required
{key}
any