This request can be used by the ACME client using the PowerDNS module to fetch a list of the domains the users customer has.
| URL | https://api.telecomx.dk/dns/acme/api/v1/servers/default/zones | ||
|---|---|---|---|
| Method | GET | ||
| Access level | VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN. | ||
| JSON object | ||
|---|---|---|
| success | boolean | True on success |
[ { "account": "", "dnssec": false, "edited_serial": 2022040504, "id": "example.org.", "kind": "Native", "last_check": 0, "masters": [], "name": "example.org.", "notified_serial": 0, "serial": 2022040504, "url": "/api/v1/servers/localhost/zones/example.org." }, { ... } ]
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |