Domain > Nameservers

Update Nameservers

Update Domain's Nameservers

put/2/domains/{domain}/nameservers

Path parameters

domainstring required

Request body

nameserversstring[]

Required without use_infomaniak_ns parameter. Array of nameservers to use for the domain

use_infomaniak_nsboolean

Required without nameservers parameter. Use Infomaniak nameservers for the domain

verify_ns_availabilityboolean

Verify ensure that the new nameservers are functional before making any changes. Default: false

Example request

{
  "nameservers": [
    "ns1.mydomain.ch"
  ]
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.