Operator User Insert Operator User

Operator User Insert Operator User

Creates an operator user and associates it with the operator's network.

Privileges required:

CREATE OPERATOR_USER

Request
URI
POST
https://{api_host}/portal/rest/operatorUser/insertOperatorUser
COPY
Request Body
operator_user_insert_operator_user of type(s) application/json
Required
This request body class requires all of the following: Inlineoperator_user_insert_operator_user0 , Inlineoperator_user_insert_operator_user1
{
    "username": "string",
    "domain": "string",
    "firstName": "string",
    "lastName": "string",
    "password": "string",
    "password2": "string",
    "roleId": 0,
    "isActive": false,
    "isNative": false,
    "disableSecondFactor": false,
    "officePhone": "string",
    "mobilePhone": "string",
    "email": "string",
    "networkId": 0
}
Responses
200

Request was successfully processed

Returns operator_user_get_operator_user_result of type(s) application/json
This response body class contains all of the following: Inlineoperator_user_get_operator_user_result1
"operator_user_get_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 '{"username:"string","password:"string","roleId:"integer"}' https://{api_host}/portal/rest/operatorUser/insertOperatorUser