Setup
Update a user
Updates the user identified by the user_id path parameter. Only the fields you send are changed; everything else is left as it was.
If you change the mobile number, enroll the new number as an authentication factor afterwards, or one-time passwords keep going to the old one.
patch/users/{user_id}
Request
- Base URL: https://sandbox.weavr.io/multi
- URL: https://sandbox.weavr.io/multi/users/{user_id}
- Auth: HTTP bearer and API key in header api-key
Path parameters
user_idstring required
Example:987654321
The unique identifier for the user.
Headers
idempotency-refstring
Example:transfer-2026-08-07-001
A unique call reference generated by the caller that, taking into consideration the payload as well as the operation itself, helps avoid duplicate operations. Idempotency reference uniqueness is maintained for at least 24 hours.
Request body
Example request
{
"email": "alex@example.com",
"mobile": {
"countryCode": "+44",
"number": "7700900123"
},
"dateOfBirth": {
"year": 1990,
"month": 1,
"day": 1
},
"tag": "customer-123",
"locale": "en-GB",
"brand": "Acme"
}Response
Success
Example response
{
"id": "987654321",
"identity": {
"type": "CONSUMER",
"id": "123456789"
},
"name": "Alex",
"surname": "Smith",
"email": "alex@example.com",
"mobile": {
"countryCode": "+44",
"number": "7700900123"
},
"active": true,
"dateOfBirth": {
"year": 1990,
"month": 1,
"day": 1
},
"tag": "customer-123",
"countryOfResidence": "GB",
"locale": "en-GB",
"brand": "Acme"
}Changes
No recorded changes to this operation across all 1 revision of this API.