v1

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

Unbind a public IP address from a container

This endpoint unbinds a public IP address from a container (corresponding IBM Containers command: cf ic ip unbind <ip_adress> <container>). The container that is unbound from the IP address will not be accessible from the internet anymore. The public IP address will be further allocated to the space and can be used to be bound to other containers.

post/containers/{name_or_id}/floating-ips/{ip}/unbind

Path parameters

name_or_idstring required

The name or ID of the container that you want to bind to the public IP address. Run the cf ic ps command or call the GET /containers/json endpoint to retrieve a list of containers in your space.

ipstring required

The public IP address that you want to unbind from your container.

Note: After unbinding a public IP address, this IP address will still be allocated to the space and can be used to be bound to other containers.

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

No Content. Your request to unbind a public IP address from a container has successfully been processed.