Update a User

post/update/U

Updates details of the specified user.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json

Specify the user by typedId and define the new value of the field you want to update in the data object.

required
object
typedId
required
string non-empty

The typedId of the user you want to update.

email
required
string non-empty

The name and a new value of the attribute you want to update.

required
object

Values before the update.

version
required
number
typedId
required
string non-empty
loginName
required
string non-empty
firstName
required
string non-empty
lastName
required
string non-empty
email
required
string non-empty
groups
Array of objects
businessRoles
Array of objects
activated
boolean
workflowEmailingActivated
boolean
noSession
boolean
requireTFA
boolean
receiveAdminEmail
boolean
ssoOnly
boolean
wizardDashboardName
any
firstLogin
boolean
additionalInfo1
any
additionalInfo2
any
additionalInfo3
any
additionalInfo4
any
emailLocale
any
defaultUserGroupEdit
required
string non-empty
defaultUserGroupViewDetails
required
string non-empty
productFilterCriteria
any
customerFilterCriteria
any
roleNames
required
Array of objects
allRoleNames
required
Array of objects
allGroups
required
Array of objects
createDate
required
string non-empty
createdBy
required
number
lastLogin
any
lastUpdateBy
required
number
extendedData
any
passwordExpiry
any
_key
required
string non-empty
_level
required
number
operationType
string non-empty
textMatchStyle
string non-empty
Responses
200

Example response

Response Schema: application/json
object
node
string non-empty
Array of objects non-empty unique
Array (non-empty)
version
number
typedId
string non-empty
loginName
string non-empty
firstName
string non-empty
lastName
string non-empty
email
string non-empty
groups
any
businessRoles
any
activated
boolean
workflowEmailingActivated
boolean
noSession
boolean
requireTFA
boolean
receiveAdminEmail
boolean
ssoOnly
boolean
wizardDashboardName
any
firstLogin
boolean
additionalInfo1
any
additionalInfo2
any
additionalInfo3
any
additionalInfo4
any
emailLocale
string non-empty
defaultUserGroupEdit
string non-empty
defaultUserGroupViewDetails
string non-empty
productFilterCriteria
any
customerFilterCriteria
any
roleNames
Array of objects
allRoleNames
Array of objects
allGroups
Array of objects
createDate
string non-empty
createdBy
number
lastLogin
any
lastUpdateBy
number
extendedData
any
passwordExpiry
any
status
number
Request samples
application/json
{
  • "data": {
    • "typedId": "2147491062.U",
    • "email": "j.price@pricingacademy.com"
    },
  • "oldValues": {
    • "version": 1,
    • "typedId": "2147491062.U",
    • "loginName": "john.pricer",
    • "firstName": "Tim",
    • "lastName": "Smith",
    • "email": "non@existent33.com",
    • "groups": [ ],
    • "businessRoles": [ ],
    • "activated": true,
    • "workflowEmailingActivated": true,
    • "noSession": true,
    • "requireTFA": true,
    • "receiveAdminEmail": true,
    • "ssoOnly": true,
    • "wizardDashboardName": null,
    • "firstLogin": false,
    • "additionalInfo1": null,
    • "additionalInfo2": null,
    • "additionalInfo3": null,
    • "additionalInfo4": null,
    • "emailLocale": null,
    • "defaultUserGroupEdit": "Administrators",
    • "defaultUserGroupViewDetails": "Administrators",
    • "productFilterCriteria": null,
    • "customerFilterCriteria": null,
    • "roleNames": [ ],
    • "allRoleNames": [ ],
    • "allGroups": [ ],
    • "createDate": "2021-12-12T12:59:07",
    • "createdBy": 2147490696,
    • "lastLogin": null,
    • "lastUpdateBy": 2147490696,
    • "extendedData": null,
    • "passwordExpiry": null,
    • "_key": "2147491062.U",
    • "_level": 0
    },
  • "operationType": "update",
  • "textMatchStyle": "exact"
}
Response samples
application/json
{
  • "response": {
    • "node": "e2e-templates-node",
    • "data": [
      • {
        • "version": 0,
        • "typedId": "2147491062.U",
        • "loginName": "john.pricer",
        • "firstName": "Tim",
        • "lastName": "Smith",
        • "email": "non@existent33.com",
        • "groups": null,
        • "businessRoles": null,
        • "activated": true,
        • "workflowEmailingActivated": true,
        • "noSession": true,
        • "requireTFA": true,
        • "receiveAdminEmail": true,
        • "ssoOnly": true,
        • "wizardDashboardName": null,
        • "firstLogin": false,
        • "additionalInfo1": null,
        • "additionalInfo2": null,
        • "additionalInfo3": null,
        • "additionalInfo4": null,
        • "emailLocale": "en",
        • "defaultUserGroupEdit": "Administrators",
        • "defaultUserGroupViewDetails": "Administrators",
        • "productFilterCriteria": null,
        • "customerFilterCriteria": null,
        • "roleNames": [ ],
        • "allRoleNames": [ ],
        • "allGroups": [ ],
        • "createDate": "2021-12-12T12:59:07",
        • "createdBy": 2147490696,
        • "lastLogin": null,
        • "lastUpdateBy": 2147490696,
        • "extendedData": null,
        • "passwordExpiry": null
        }
      ],
    • "status": 0
    }
}