Apps

Assign new IP address to app

Changed on
post/v1/apps/{app_name}/ip_assignments

Request

  • Base URL
    https://api.machines.dev
  • URL
    https://api.machines.dev/v1/apps/{app_name}/ip_assignments
  • Auth
    HTTP bearer

Path parameters

app_namestring required

Fly App Name

Request body

networkstring
org_slugstring
regionstring
service_namestring
type'v4' | 'v6' | 'shared_v4' | 'private_v6' | 'egress_v4' | 'egress_v6' | 'egress_pair'

Type of IP address to allocate. "egress-pair" allocates both v4 and v6 egress IP addresses (recommended when using egress IPs).

Response

OK

created_atstring
egressboolean
ipstring
regionstring
service_namestring
sharedboolean

Changes

    • info

      added the optional property to the response with the status

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new egress_pair enum value to the request property

    • info

      added the new egress_v4 enum value to the request property

    • info

      added the new egress_v6 enum value to the request property

    • info

      added the new private_v6 enum value to the request property

    • info

      added the new shared_v4 enum value to the request property

    • info

      added the new v4 enum value to the request property

    • info

      added the new v6 enum value to the request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status