Update user details for the user on the session

Request
Security:
vc-security
Request Body schema: application/json
object (UserKey)
firstName
string
lastName
string
orgId
string
email
string
primaryPhone
string
primaryPhoneCountryCode
string
primaryPhoneExtension
string
secondaryPhone
string
timeZone
string
locale
string
Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

put/user-service/v1/user-details
Request samples
application/json
{
  • "userKey": {
    },
  • "firstName": "string",
  • "lastName": "string",
  • "orgId": "string",
  • "email": "string",
  • "primaryPhone": "string",
  • "primaryPhoneCountryCode": "string",
  • "primaryPhoneExtension": "string",
  • "secondaryPhone": "string",
  • "timeZone": "string",
  • "locale": "string"
}
Response samples
application/json
{
  • "message": "Field \"name\" cannot be null",
  • "status": 400,
  • "error": "Bad Request",
  • "timestamp": "2023-12-13T19:02:31.5897497",
  • "path": "/user-service/v1"
}