Skip to main content

Get addresses available for network interface

GET 

/virtual_machine_network_interfaces/virtual_machine_network_interface/available_ips/address_version

Returns a list of IP addresses that can be allocated to a specific network interface

Scopes

  • ip_addresses
  • ip_addresses:read

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Query Parameters

    virtual_machine_network_interface[id] string

    The network interface to get IP addresses for.

    All 'virtual_machine_network_interface[]' params are mutually exclusive, only one can be provided.

    address_version IPAddressVersionEnumrequired

    Possible values: [ipv4, ipv6]

    The IP address version to return results for

Responses

Returns a list of IP addresses that can be allocated to a specific network interface

Schema

    ip_addresses

    object[]

    required

    The IP addresses available for this network interface

  • Array [

  • id string
    address string
    reverse_dns string
    vip boolean
    label stringnullable
    address_with_mask string

    network

    object

    id string
    name string
    permalink stringnullable

    data_center

    object

    id string
    name string
    permalink string

    country

    object

    id string
    name string
    iso_code2 string
    iso_code3 string
    time_zone stringnullable
    eu boolean
    allocation_id stringnullable
    allocation_type stringnullable
  • ]

Loading...