Set the linked IP owning the token to the caller's IPv4 address.
GET
/link/{token}
const url = 'https://ip.opdns.net/link/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://ip.opdns.net/link/exampleFor routers and cron jobs (curl https://ip.opdns.net/link/<token>). Plain-text
dyndns-style answers. Rate limited per client IP.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Responses
Section titled “Responses”good <ip> when changed, nochg <ip> when unchanged.
Media typetext/plain
string
badip <ip>: not a public IPv4 address.
Media typetext/plain
string
badauth: unknown token.
Media typetext/plain
string
conflict <ip>: address linked to another profile; nothing changed.
Media typetext/plain
string
abuse: rate limited.
Media typetext/plain
string