Create or update a nameserver profile
eurodns_nameserver_save_profileCreate or update a nameserver profile; omit id to create, include id to update. Send every field and nameserver to retain, because the API clears anything omitted.
Instructions
Creates a nameserver profile when id is omitted, or updates the profile with that id, and returns the saved profile. An update must carry every field, including the nameservers you keep, because the API clears anything omitted: start from eurodns_nameserver_get_profile.
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. |