Assign new IP address to app
Authorizations
A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.
Path Parameters
Fly App Name
Body
Assign IP request
Only for private_v6: name of the private network to allocate the Flycast address in.
Defaults to the organization's default network.
Only for private_v6: slug of the organization whose private network the Flycast address
is allocated in, to make the app reachable from that organization. Defaults to the app's
organization.
Region to scope the address to. Required for egress types. Optional for v4 and v6,
which default to global (announced in all regions). Must be empty or global for
shared_v4 and private_v6.
Scope the address to a single service of the app. Not supported for egress types.
Response
OK
When the address was assigned to the app, in RFC 3339 format.
Whether this is an egress address.
The allocated IP address. Null for egress_pair; see ip_pair.
The allocated IPv4 and IPv6 addresses when the egress_pair type was requested; null
otherwise.
The 6PN network a Flycast (private_v6) address belongs to. Null for all other IP types.
Region the address is scoped to, or global for addresses announced in all regions.
Name of the service the address is scoped to, if any.
Whether this is the app's shared IPv4 address.