GET /service/api/console/gsm/{gsmKey}/dnsp/policies/{policyId}
Returns detailed information for one specified DNS Protection policy.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
policyId |
The identifier of the policy to query information for. |
string |
Required |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/129B-CC7F-8D2F-40A1-81E7/dnsp/policies/39b7d5af-8907-47ef-bde8-23e10c484028
|
Body Parameters
None.
Response Information
Resource Description
Information about a DNS Protection policy.
GetDNSPGlobalPoliciesResponseModelName | Description | Type | Additional Information |
---|---|---|---|
TotalCount |
Total number of policies available. |
integer |
None. |
Policies |
The list of policies. |
Collection of GetDNSPGlobalPoliciesResponseModel_Policy |
None. |
Sample Response
{ "TotalCount": 1, "Policies": [ { "Id": "4567e5f3-ef80-40d1-bc54-2a7c902d73c5", "Name": "Test Policy 1", "BlockedCategories": [ 50, 57, 58, 59, 60, 68 ], "Editable": true, "CreatedDate": "2024-08-21T04:03:35.4115209Z", "ModifiedDate": "2024-08-21T04:03:35.4115209Z" } ] }
<GetDNSPGlobalPoliciesResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <Policies> <GetDNSPGlobalPoliciesResponseModel_Policy> <BlockedCategories xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>50</d4p1:int> <d4p1:int>57</d4p1:int> <d4p1:int>58</d4p1:int> <d4p1:int>59</d4p1:int> <d4p1:int>60</d4p1:int> <d4p1:int>68</d4p1:int> </BlockedCategories> <CreatedDate>2024-08-21T04:03:35.4115209Z</CreatedDate> <Editable>true</Editable> <Id>4567e5f3-ef80-40d1-bc54-2a7c902d73c5</Id> <ModifiedDate>2024-08-21T04:03:35.4115209Z</ModifiedDate> <Name>Test Policy 1</Name> </GetDNSPGlobalPoliciesResponseModel_Policy> </Policies> <TotalCount>1</TotalCount> </GetDNSPGlobalPoliciesResponseModel>