GET /service/api/console/gsm/{gsmKey}/admins

Gets the list of admins on a given GSM console.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
gsmKey

The GSM console keycode.

string

Required

URI Sample(s)

GET
https://unityapi.webrootcloudav.com/service/api/console/gsm/04AB-D27B-B895-4FDE-AC9E/admins

Body Parameters

None.

Response Information

Resource Description

Information about the list of admins on a given GSM console.

GetGSMAdminsResponseModel
NameDescriptionTypeAdditional Information
TotalCount

Total number of users available.

integer

None.

Admins

List of policy details records.

Collection of GetGSMAdminsResponseModel_Admin

None.

Sample Response

{
  "TotalCount": 2,
  "Admins": [
    {
      "UserId": "d8ac6cd5-6d01-48d4-adc9-5c7659c6a232",
      "Email": "test1@webroot.com",
      "FirstName": "Test1",
      "LastName": "User1",
      "DisplayName": "Test1 User1",
      "MobileTel": "07359696",
      "OfficeTel": "01960726",
      "UserState": "Activated",
      "AccessLevel": 128,
      "MSPUser": false,
      "Confirmed": true
    },
    {
      "UserId": "f3db1f37-96d8-45e7-a34a-b219c63c85ec",
      "Email": "test2@webroot.com",
      "FirstName": "Test2",
      "LastName": "User2",
      "DisplayName": "Test2 User2",
      "MobileTel": "07964913",
      "OfficeTel": "01527567",
      "UserState": "Activated",
      "AccessLevel": 128,
      "MSPUser": false,
      "Confirmed": true
    }
  ]
}                    
<GetGSMAdminsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <Admins>
    <GetGSMAdminsResponseModel_Admin>
      <AccessLevel>128</AccessLevel>
      <Confirmed>true</Confirmed>
      <DisplayName>Test1 User1</DisplayName>
      <Email>test1@webroot.com</Email>
      <FirstName>Test1</FirstName>
      <LastName>User1</LastName>
      <MSPUser>false</MSPUser>
      <MobileTel>07359696</MobileTel>
      <OfficeTel>01960726</OfficeTel>
      <UserId>d8ac6cd5-6d01-48d4-adc9-5c7659c6a232</UserId>
      <UserState>Activated</UserState>
    </GetGSMAdminsResponseModel_Admin>
    <GetGSMAdminsResponseModel_Admin>
      <AccessLevel>128</AccessLevel>
      <Confirmed>true</Confirmed>
      <DisplayName>Test2 User2</DisplayName>
      <Email>test2@webroot.com</Email>
      <FirstName>Test2</FirstName>
      <LastName>User2</LastName>
      <MSPUser>false</MSPUser>
      <MobileTel>07964913</MobileTel>
      <OfficeTel>01527567</OfficeTel>
      <UserId>f3db1f37-96d8-45e7-a34a-b219c63c85ec</UserId>
      <UserState>Activated</UserState>
    </GetGSMAdminsResponseModel_Admin>
  </Admins>
  <TotalCount>2</TotalCount>
</GetGSMAdminsResponseModel>