Update a user
PATCH
/users/{user_id} Update the details of a user identified by the user_id in the the path parameter.
Only the fields that are specified in the request body will be updated. All other fields will remain unchanged.
When patching a mobile number, the new mobile number should be enrolled for Authentication Factors.
Request
Path parameters
Header parameters
Request body
*application/json
objectobject · 9 fields
Responses
200OK
Success
Headers
Body
application/json
UserUser · object · 13 fields
Response example
{ "id": "string", "identity": { "type": "CONSUMER", "id": "123456789" }, "name": "string", "surname": "string", "email": "[email protected]", "mobile": { "countryCode": "+44", "number": "7700900123" }, "active": true, "dateOfBirth": { "year": 1990, "month": 1, "day": 1 }, "tag": "customer-123", "countryOfResidence": "string", "locale": "en-GB", "brand": "string", "roles": [ "CARD_ASSIGNEE" ]}