Set a contact profile as default
eurodns_contact_set_as_default_profileSet a contact profile as default for selected roles—registrant, admin, tech, billing—so future orders use it. Existing domains remain unchanged.
Instructions
Makes the contact profile with that id the default for the roles set true in body — org (registrant), admin, tech and billing — and returns the roles now applied. Future orders pick the default; domains already registered are not touched. Find the id with eurodns_contact_get_profile; to edit the profile’s own fields use eurodns_contact_save_profile instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the contact profile, from the list eurodns_contact_get_profile returns when called without an id. | |
| body | Yes | Which contact roles this profile becomes the default for: org (registrant), admin, tech and billing, each true or false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |