Developers, Developers, Developers! 🤪

So you wanna update your host IP without the stupid desktop client? No problem. You should be able to use the info below to do that. There's really not much to it, so... Have fun!

Update Host IP

To update the IP for a host, you just need to make a POST request to the /api/update-domain endpoint. Check it.


Endpoint
https://app.ns3.me/api/update-domain
Parameters
apiKey (Required) - Your API key (found in your dashboard).
domain (Required) - The host name you want to update.
ip (Optional) - The IP address you want to use. Only use this parameter if you do not want us to figure out the IP that should be used.

For example: This is what a cURL request would look like:
curl -d 'apiKey={YOUR_API_KEY}&domain={YOUR_DOMAIN}' https://app.ns3.me/api/update-domain