Create or update a nameserver profile
eurodns_nameserver_save_profileCreate or update a nameserver profile. When updating, fetch the existing profile first, as omitted fields are cleared. Changing a profile affects all domains using it.
Instructions
Creates a nameserver profile from body when id is omitted, or updates the profile with that id, and returns the saved profile. An update must carry every field and every nameserver you keep, because the API clears anything omitted: start from eurodns_nameserver_get_profile rather than from the changed servers alone. Changing a profile changes the delegation of every domain pointing at it, so read it first instead of guessing what it holds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric id of the profile to update, from eurodns_nameserver_get_profile. Omit it to create a new profile. | |
| body | Yes | The profile: a name and its nameservers, each with an fqdn and, for glue records, ipV4Address and ipV6Address. When updating, send every field and every nameserver you keep: the API clears anything omitted. | |
| lang | No | Two-letter language code for the messages the API returns, e.g. en. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |