List Instance IPv4 Information

GET {{baseUrl}}/instances/:instance-id/ipv4

List the IPv4 information for an Instance.

Request Params

KeyDatatypeRequiredDescription
public_networkstringList only Public networks.
  • yes
  • no | | per_page | string | | Number of items requested per page. Default is 100 and Max is 500. | | cursor | string | | Cursor for paging. See Meta and Pagination. |

RESPONSES

status: OK

{"ipv4s":[{"ip":"192.0.2.123","netmask":"255.255.254.0","gateway":"192.0.2.1","type":"main_ip","reverse":"host1.example.com"},{"ip":"203.0.113.123","netmask":"255.255.255.255","gateway":"","type":"secondary_ip","reverse":"host2.example.com"},{"ip":"10.99.0.123","netmask":"255.255.0.0","gateway":"","type":"private","reverse":""}],"meta":{"total":3,"links":{"next":"","prev":""}}}