cURL
curl --request GET \ --url https://api.gcore.com/dns/v2/network-mappings/{id} \ --header 'Authorization: <api-key>'
{ "id": 123, "mapping": [ { "cidr4": [ {} ], "cidr6": [ {} ], "tags": [ "<string>" ] } ], "name": "<string>" }
Particular network mapping item info
Example of request:
curl --location --request GET 'https://api.gcore.com/dns/v2/network-mappings/123' \ --header 'Authorization: Bearer ...'
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
NetworkMapping
Show child attributes
Was this page helpful?