Get name zone file
Retrieves the zone file for a specific name.
GET
/v1/names/{name}/zonefile
Get name zone file
Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.
Path Parameters
name
Requiredstring
fully-qualified name
Example:"bar.test"
Status code | Description |
---|---|
| Success |
| Error |
| Error |
Terminal
$curl -X GET "https://api.hiro.so/v1/names/bar.test/zonefile"
Fetch a user's raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.
{"zonefile": "string"}