Policy > Security > Security Profiles > DNS Security Profiles

Create or update DNS security profile

Create or update DNS security profile

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/global-infra/dns-security-profiles/<profile-id>
/policy/api/v1/infra/dns-security-profiles/<profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
DnsSecurityProfile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/dns-security-profiles/default { "display_name" : "default-dns-profile", "ttl" : 10000, "_revision" : 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DnsSecurityProfile+

Example Response:

{ "resource_type" : "DnsSecurityProfile", "id" : "default", "display_name" : "default-dns-profile", "path" : "/infra/dns-security-profiles/default", "parent_path" : "/infra/dns-security-profiles", "relative_path" : "default", "display_name" : "default-dns-profile", "ttl" : 10000, "_create_user" : "admin", "_create_time" : 1517403652195, "_last_modified_user" : "admin", "_last_modified_time" : 1517403652195, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 1 }

Required Permissions:

crud

Feature:

policy_security_profiles

Additional Errors: