URL Variablen
| Name | Beschreibung |
|---|---|
| domain | Domain-Name inkl. TLD |
Body Parameter (application/x-www-form-urlencoded)
| Name | Format | Beschreibung | Optional |
|---|---|---|---|
| ns1 | String | Domain zum 1. Nameserver (verwende "default" für den Standard Nameserver) | |
| ns2 | String | Domain zum 2. Nameserver (verwende "default" für den Standard Nameserver) | |
| ns3 | String | Domain zum 3. Nameserver | |
| ns4 | String | Domain zum 4. Nameserver (nur möglich wenn ns3 übergeben wurde) | |
| ns5 | String | Domain zum 5. Nameserver (nur möglich wenn ns4 übergeben wurde) |
Response (application/json)
{
"status": "success",
"requestID": "dad6501f-dfc6-4361-a65c-564bc7216425",
"message": "Nameservers will be updated in the next seconds, new nameservers are listed below",
"data": {
"ns1": "ns1.fireapi.de",
"ns2": "ns2.fireapi.de",
"ns3": "ns3.test.de",
"ns4": null,
"ns5": null
}
}
cURL
curl "https://live.fireapi.de/domain/:domain/nameserver" -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY" -d "ns1=REPLACE_VALUE&ns2=REPLACE_VALUE&ns3=REPLACE_VALUE&ns4=REPLACE_VALUE&ns5=REPLACE_VALUE"
Anfrage testen