v1
latestOpenAPI 3.1.02026-08-06236494759.4 KBUsers
Update User
Endpoint to update an User.
put/business/v2/employees/{userId}
Path parameters
userIdstring required
The User ID.
Example:XMPL1234-000001
Headers
X-Soldo-Fingerprintstring required
Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required
Advanced authentication: Signature of the X-Soldo-Fingerprint.
Example:{{fingerprint_signature}}
Request body
Example request
{
"job_title": "Business Strategist",
"mobile_number": "+44123323232",
"mobile_prefix": "+44",
"email": "jdoe@fake.soldo.com",
"enable_mobile_credential": true,
"custom_reference_id": "123456-user-1",
"reports_to": "XMPL1234-000001",
"skip_credential_notification": true
}Response
The returned result is a single User.
Example response
{
"id": "XMPL1234-000001",
"name": "John",
"surname": "Smith",
"middlename": "John",
"dob": "1970-10-21",
"job_title": "Business Strategist",
"department": "Research & Development",
"email": "jdoe@fake.soldo.com",
"mobile": "+44123323232",
"mobile_prefix": "+44",
"custom_reference_id": "123456-user-1",
"visible": true,
"mobile_access": true,
"web_access": true,
"groups": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
],
"shipping_address": {
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"recipient": "JohnSmith",
"name": "Foo Street 75",
"line1": "Bar Street 64",
"line2": "Other street 31",
"country": "GB",
"county": "LD",
"city": "London",
"post_code": "00000",
"delivery_phone_number": "+441234567890",
"type": "SHIPPING",
"creation_time": "2017-06-01T12:48:40Z",
"last_update": "2017-06-01T12:48:40Z"
},
"reports_to": "XMPL1234-000001",
"roles": [
{
"id": "superAdmin",
"name": "superAdmin",
"description": "The SuperAdmin role",
"scope": "ALL"
}
],
"contact_id": "135fdb6c-2e77-4fc0-a79f-2453fde75ef7",
"creation_time": "2017-06-01T12:48:40Z",
"last_update": "2017-06-01T12:48:40Z"
}