Enterprise Get Enterprise Users
Gets all enterprise users for the specified enterprise (by enterpriseId
).
Privileges required:
READ
ENTERPRISE
READ
ENTERPRISE_USER
Request
URI
POST
https://{api_host}/portal/rest/enterprise/getEnterpriseUsers
COPY
Request Body
{
"id": 0,
"enterpriseId": 0
}
integer
id
Optional
id
integer
enterpriseId
Optional
enterpriseId
Responses
200
Request was successfully processed
Returns
Array of
enterprise_get_enterprise_users_result_item
of type(s)
application/json
[
{
"id": 0,
"created": "string",
"userType": "string",
"username": "string",
"domain": "string",
"password": "string",
"firstName": "string",
"lastName": "string",
"officePhone": "string",
"mobilePhone": "string",
"isNative": 0,
"isActive": 0,
"isLocked": 0,
"disableSecondFactor": 0,
"email": "string",
"lastLogin": "string",
"modified": "string",
"salt": "string",
"passwordModified": "string",
"sshUsername": "string",
"accessLevel": "string",
"enterpriseLogicalId": "string",
"roleId": 0,
"roleName": "string",
"isSuper": 0
}
]
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/enterprise/getEnterpriseUsers