Upsert Dns Geo Record
Upsert Dns Geo Record on the NodeRings client API (PUT /v1/dns/zones/{zoneId}/geo-records).
Authorization<token>
Bearer token
In: header
X-Organization-ID<token>
Tenant or organization identifier
In: header
Path Parameters
zoneIdstring
record?
Response Body
application/json
curl -X PUT "https://api.noderings.com/v1/dns/zones/{zoneId}/geo-records" \ -H "Authorization: Bearer {your_token}" \ -H "X-Organization-ID: {your_org_id}" \ -H "Content-Type: application/json" \ -d '{ "record": { "name": "string", "type": "string", "ttl": 0, "defaultRdata": "string", "continents": null, "countries": null, "regions": null }}'{
"name": "string",
"type": "string",
"ttl": 0,
"defaultRdata": "string",
"continents": {
"property1": "string",
"property2": "string"
},
"countries": {
"property1": "string",
"property2": "string"
},
"regions": {
"property1": "string",
"property2": "string"
}
}