Get a nameserver profile, or list them
eurodns_nameserver_get_profileRetrieve a nameserver profile by ID or list all profiles with optional filters for default, deletable, pagination, sorting, and inclusion of nameservers. Helps identify the right profile for domain configuration.
Instructions
Returns one reusable nameserver set by id, or lists the account’s nameserver profiles when id is omitted, with the default one and the deletable ones marked and, with includeNameservers, each profile’s servers. Use it to find the profile a domain should point at, or the id eurodns_nameserver_save_profile takes; it does not say which profile a given domain uses, which eurodns_domain_get returns. Filter with default or deletable rather than paging the whole list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric id of the nameserver profile to return. Omit it to list the account’s profiles with the filters below. | |
| page | No | 1-based page number. There is no page meaning everything: walk pages until a short one comes back. | |
| size | No | Results per page, 1 to 500. A wide page is truncated by the character limit, so prefer a filter to a large size. | |
| default | No | true keeps only the default profile, false keeps every other one. Omit for both. | |
| deletable | No | true keeps only profiles no domain uses, which are the ones that can be deleted. | |
| sortField | No | Result field to sort on, spelled as in the response items. Unsorted when omitted. | |
| sortOrder | No | ASC or DESC; only read with sortField. | |
| includeNameservers | No | Include each profile's nameserver list in the response, not just its name and id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |