Creates a mapping for a DNS Protection policy for a GSM site.

POST {{baseUrl}}/api/console/gsm/:gsmKey/sites/:siteId/dnsp/mappings

Request Body

{"Type"=>"StaticIP", "Value"=>"95.157.248.26", "DNSPolicyId"=>"84e829f9-5dff-4b0e-bff6-071093791a41"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"Id":"1eec8a0d-b5a8-4f17-b0a1-8bfa2cf83780","Type":"StaticIP","Value":"95.121.207.164","DNSPolicyId":"439e64ef-429e-4846-a310-8a5d56f1e312"}