GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/admins/{userId}

Gets information about a site admin.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
gsmKey

The GSM console keycode.

string

Required

siteId

The site identifier.

string

Required

userId

The admin identifier to query information for.

string

Required

URI Sample(s)

GET
https://unityapi.webrootcloudav.com/service/api/console/gsm/577A-5EF4-AA31-4437-A012/sites/330eb5c7-360f-4149-ba9a-010d94e16b93/admins/1f7ffb9a-bfa0-4e6e-9102-a621548f3eb9

Body Parameters

None.

Response Information

Resource Description

Information about the desired site admin.

GetGSMSiteAdminsResponseModel
NameDescriptionTypeAdditional Information
TotalCount

Total number of users available.

integer

None.

Admins

List of user details records.

Collection of GetGSMSiteAdminsResponseModel_Admin

None.

Sample Response

{
  "TotalCount": 1,
  "Admins": [
    {
      "UserId": "bb0ad1c4-6cf6-42b9-89ab-ea71949385c6",
      "Email": "test1@webroot.com",
      "FirstName": "Test1",
      "LastName": "User1",
      "DisplayName": "Test1 User1",
      "MobileTel": "07582318",
      "OfficeTel": "01265998",
      "UserState": "Activated",
      "AccessLevel": 128,
      "MSPUser": false,
      "Confirmed": true
    }
  ]
}                    
<GetGSMSiteAdminsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <Admins>
    <GetGSMSiteAdminsResponseModel_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>07582318</MobileTel>
      <OfficeTel>01265998</OfficeTel>
      <UserId>bb0ad1c4-6cf6-42b9-89ab-ea71949385c6</UserId>
      <UserState>Activated</UserState>
    </GetGSMSiteAdminsResponseModel_Admin>
  </Admins>
  <TotalCount>1</TotalCount>
</GetGSMSiteAdminsResponseModel>