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/71B4-B218-9AA4-42D3-8604/sites/f7a5aff5-1fe0-4663-8a42-d2ba74fe7316/admins/d7df8fb4-d349-4bac-85dd-460919ad087c
|
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": "358eadf2-178d-4bb6-8930-af360fe66313", "Email": "test1@webroot.com", "FirstName": "Test1", "LastName": "User1", "DisplayName": "Test1 User1", "MobileTel": "07623378", "OfficeTel": "01426951", "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>07623378</MobileTel> <OfficeTel>01426951</OfficeTel> <UserId>358eadf2-178d-4bb6-8930-af360fe66313</UserId> <UserState>Activated</UserState> </GetGSMSiteAdminsResponseModel_Admin> </Admins> <TotalCount>1</TotalCount> </GetGSMSiteAdminsResponseModel>