Skip to main content

Allocate an IP Address

POST 

/virtual_machines/virtual_machine/allocate_ip

Allocate an IP address to a virtual machine, automatically determining the network interface

Scopes

  • ip_addresses

OAuth2 Scopes

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

Request

Body

    virtual_machine

    object

    required

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

    id string
    fqdn string

    ip_address

    object

    required

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

    id string
    address string

Responses

Allocate an IP address to a virtual machine, automatically determining the network interface

Schema

    ip_address

    object

    required

    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...