API-Key: ********************{
"nameservers": [
{
"hostname": "ns1.domain.com",
"ipv4": "54.23.45.218",
"ipv6": ""
},
{
"hostname": "ns2.domain.com",
"ipv4": "235.21.2.120",
"ipv6": ""
}
],
"set_as_default": true
}curl --location --request PUT 'https://mijn.host/api/v2/domains/nameservers/nameservers-profile' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"nameservers": [
{
"hostname": "ns1.domain.com",
"ipv4": "54.23.45.218",
"ipv6": ""
},
{
"hostname": "ns2.domain.com",
"ipv4": "235.21.2.120",
"ipv6": ""
}
],
"set_as_default": true
}'{
"status": 0,
"status_description": "string"
}