Operator User Update Operator User

Operator User Update Operator User

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

Privileges required:

UPDATE OPERATOR_USER

Request
URI
POST
https://{api_host}/portal/rest/operatorUser/updateOperatorUser
COPY
Request Body

Show optional properties

{
    "_update": {}
}
{
    "_update": {
        "firstName": "string",
        "lastName": "string",
        "password": "string",
        "password2": "string",
        "roleId": 0,
        "email": "string",
        "mobilePhone": "string",
        "officePhone": "string",
        "operatorId": 0,
        "userType": "string",
        "username": "string",
        "domain": "string",
        "isNative": false,
        "isLocked": false,
        "isActive": false,
        "sshUsername": "string",
        "accessLevel": "string"
    },
    "networkId": 0,
    "id": 0,
    "username": "string",
    "currentPassword": "string"
}
_update
Required

_update

integer
networkId
Optional

networkId

integer
id
Optional

id

string
username
Optional

username

string
currentPassword
Optional

currentPassword

Responses
200

Request was successfully processed

Returns operator_user_update_operator_user_result of type(s) application/json
This response body class contains all of the following: Inlineoperator_user_update_operator_user_result0
"operator_user_update_operator_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/operatorUser/updateOperatorUser