Enterprise Get Enterprise Users

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

[
    {
        "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",
        "roleId": 0,
        "roleName": "string",
        "isSuper": 0
    }
]

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 '{}' https://{api_host}/portal/rest/enterprise/getEnterpriseUsers