Enterprise User Update Enterprise User

Enterprise User Update Enterprise User

Updates the specified enterprise user (by object id or other identifying attribute). Expects an _update object containing the field(s) to be updated and their corresponding value(s).

Privileges required:

UPDATE ENTERPRISE_USER, or

UPDATE OPERATOR_USER

Request
URI
POST
https://{api_host}/portal/rest/enterpriseUser/updateEnterpriseUser
COPY
Request Body

Show optional properties

{
    "_update": {}
}
{
    "_update": {
        "domain": "string",
        "password": "string",
        "password2": "string",
        "firstName": "string",
        "lastName": "string",
        "officePhone": "string",
        "mobilePhone": "string",
        "isNative": false,
        "isActive": false,
        "disableSecondFactor": false,
        "email": "string",
        "roleId": 0
    },
    "id": 0,
    "enterpriseId": 0,
    "username": "string"
}
integer
id
Optional

id

integer
enterpriseId
Optional

enterpriseId

string
username
Optional

username

Responses
200

Request was successfully processed

Returns enterprise_user_update_enterprise_user_result of type(s) application/json
This response body class contains all of the following: Inlineenterprise_user_update_enterprise_user_result0
"enterprise_user_update_enterprise_user_result Object"

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"_update:"object"}' https://{api_host}/portal/rest/enterpriseUser/updateEnterpriseUser