v1

latestOpenAPI 3.0.0(C) Copyright IBM Corp. 2016 All Rights Reserved.2026-07-144737155.4 KB
Public IP addresses

List available public IP addresses in a space

This endpoint returns a list of all public IP addresses that are allocated to a space and not bound to a container. If you want to list all public IP addresses that are allocated to a space, even those that are already bound to a container, use the all query parameter (corrsponding IBM Containers command: cf ic ip list).

get/containers/floating-ips

Query parameters

allboolean

If this option is set to all=1, all=True, or all=true, all public IP addresses that are allocated to a space are returned. If this option is set to all=0, all=False, or all=false, only available public IP addresses that are allocated but not bound to a container are returned. By default, only available public IP addresses are returned.

Headers

X-Auth-Tokenstring required

The Bluemix JSON web token that you receive when logging into Bluemix. Run cf oauth-token to retrieve your access token.

X-Auth-Project-Idstring required

The unique ID of your organization space where you want to create or work with your containers. Run cf space <space_name> --guid, where <space_name> is the name of your space, to retrieve your space ID.

Response

OK. A list of public IP addresses that are allocated to the space is returned.

IpAddressstring

The public IP address that is allocated to the organization space.