Skip to main content
PATCH
Update a user

Authorizations

Authorization
string
header
required

Bearer JWT issued to your business account during onboarding

Path Parameters

id
string
required

Body

application/json
name
string
Example:

"Jane Doe"

firstName
string
Example:

"Jane"

lastName
string
Example:

"Doe"

birthDate
string

Date of birth (YYYY-MM-DD). Local-only update — Rain does not accept birthDate on user PATCH.

Example:

"1990-05-15"

email
string

Must be unique among active users.

Example:

"jane@enduser.example.com"

phone
object

Updates dial code and number. Clears phone.network (MNO) and sets phone verification to unverified.

physicalAddress
object

Residential address. Optional. Required later for virtual card issue if not already stored.

subAccountId
string

Move user to another sub-account

Response

200

User updated successfully