Skip to main content
POST
Assign new IP address to app

Path Parameters

app_name
string
required

Fly App Name

Body

application/json

Assign IP request

network
string
org_slug
string
region
string
service_name
string
type
enum<string>

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

Available options:
v4,
v6,
shared_v4,
private_v6,
egress_v4,
egress_v6,
egress_pair

Response

200 - application/json

OK

created_at
string
egress
boolean
ip
string
ip_pair
object

ip_pair is returned when "egress-pair" IP type is requested; in this case, ip is null.

network
object

The 6PN network a Flycast (private_v6) address belongs to. Null for all other IP types.

region
string
service_name
string
shared
boolean