API: Floating IPs
The floating category allows you to manage your floating IPs.
Action | Required Parameters | Optional Parameters |
---|---|---|
floating/list | None | None |
floating/add | region | None |
floating/delete | region, ip | None |
floating/list
Endpoint: floating/list { "success": "yes", "ips": [ { "attached_id": "", "attached_name": "None", "attached_type": "unattached", "hostname": "221.176.81.172.rdns.lunanode.com.", "ip": "172.81.176.221", "region": "toronto", "reverse": "221.176.81.172.rdns.lunanode.com.", "time_updated": "2018-12-16T20:54:25Z" }, { "attached_id": "5ecf72a2-ba0c-4ca1-b64a-55adf433edca", "attached_name": "summerhost.biz", "attached_type": "vm", "hostname": "summerhost.biz.", "ip": "38.110.117.199", "region": "toronto", "reverse": "summerhost.biz.", "time_updated": "2018-06-19T06:05:42Z" } ] }
floating/add
Add a new unattached floating IP to your account in the specified region.
Required parameters:
- region - region ('toronto', 'montreal', 'roubaix')
Endpoint: floating/add region=toronto { "ip": "172.81.176.77", "success": "yes" }
floating/delete
Remove an unattached floating IP from your account.
Required parameters:
- region - region ('toronto', 'montreal', 'roubaix')
- ip - the floating IP
Endpoint: floating/delete region=toronto ip=172.81.176.77 {"success": "yes"}