GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/admins/{userId}
Gets information about a site admin.
Request Information
URI Parameters
Name | Description | Type | Additional 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/7BDF-D103-F63A-4EE4-8E6C/sites/5c440521-ccbb-4bbc-a972-e3f710279062/admins/c4316626-450b-44de-a1f2-1ffdd65416ac
|
Body Parameters
None.
Response Information
Resource Description
Information about the desired site admin.
GetGSMSiteAdminsResponseModelName | Description | Type | Additional 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": "810994ee-ebbb-4c6b-bd8c-4033e8380824", "Email": "test1@webroot.com", "FirstName": "Test1", "LastName": "User1", "DisplayName": "Test1 User1", "MobileTel": "07614758", "OfficeTel": "01628650", "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>07614758</MobileTel> <OfficeTel>01628650</OfficeTel> <UserId>810994ee-ebbb-4c6b-bd8c-4033e8380824</UserId> <UserState>Activated</UserState> </GetGSMSiteAdminsResponseModel_Admin> </Admins> <TotalCount>1</TotalCount> </GetGSMSiteAdminsResponseModel>