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"
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"_update:"object"}' https://{api_host}/portal/rest/enterpriseUser/updateEnterpriseUser
All Operations
POST
Enterprise Proxy Delete Enterprise Proxy User
POST
Enterprise Proxy Get Enterprise Proxy User
POST
Enterprise Proxy Insert Enterprise Proxy User
POST
Enterprise Proxy Update Enterprise Proxy User
POST
Enterprise User Delete Enterprise User
POST
Enterprise User Get Enterprise User
POST
Enterprise User Update Enterprise User
POST
Operator User Delete Operator User
POST
Operator User Get Operator User
POST
Operator User Insert Operator User
POST
Operator User Update Operator User