Command: update the DynDNS target identified by the Bearer token — the call may carry IPv4, IPv6 or both; explicit body IPs win, the connection's source address fills its own family. All names of the target are written.
POST
/dyndns/update
const url = 'https://example.com/api/v1/dyndns/update';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ip":"203.0.113.7","ip6":"2001:db8::1"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/dyndns/update \ --header 'Content-Type: application/json' \ --data '{ "ip": "203.0.113.7", "ip6": "2001:db8::1" }'Request Body
Abschnitt betitelt „Request Body“Media typeapplication/json
object
ip
string
Example
203.0.113.7ip6
string
Example
2001:db8::1Responses
Abschnitt betitelt „Responses“Processed update.
Media typeapplication/json
object
hostnames
Array<string>
ipv4
string
ipv6
string
changed
boolean
Examplegenerated
{ "hostnames": [ "example" ], "ipv4": "example", "ipv6": "example", "changed": true}Unknown token.
No usable IP address in the update call.