Enterprise Insert Enterprise User
Creates a new enterprise user.
Privileges required:
CREATE
ENTERPRISE_USER
Request
URI
POST
https://{api_host}/portal/rest/enterprise/insertEnterpriseUser
COPY
Request Body
new_enterprise_user
of type(s)
application/json
Required
This request body class requires all of the following:
Inlinenew_enterprise_user0
,
Inlinenew_enterprise_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",
"sshUsername": "string",
"accessLevel": "string",
"userType": "string",
"enterpriseId": 0
}
Responses
200
Request was successfully processed
Returns
enterprise_insert_enterprise_user_result
of type(s)
application/json
This response body class contains all of the following:
Inlineenterprise_insert_enterprise_user_result0
"enterprise_insert_enterprise_user_result Object"
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/portal/rest/enterprise/insertEnterpriseUser